fix(providence-analytics): allow absence of config file
This commit is contained in:
parent
1c18057cee
commit
ee2730e00c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,6 @@ import { getProvidenceConf } from '../program/utils/get-providence-conf.mjs';
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
// We need to provide config to cli, until whole package is rewritten as ESM.
|
// We need to provide config to cli, until whole package is rewritten as ESM.
|
||||||
const { providenceConf } = await getProvidenceConf();
|
const { providenceConf } = (await getProvidenceConf()) || {};
|
||||||
cli({ providenceConf });
|
cli({ providenceConf });
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue