*Update dist

This commit is contained in:
Derrick Hammer 2022-09-21 17:21:43 -04:00
parent ea0e7a3696
commit 7483aafb46
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -115,7 +115,7 @@ class Config {
catch (e) {
if (e.code === "ENOENT")
return;
throw e;
throw new Error(`Error parsing file ${file}: ${e.message}`);
}
(0, bsert_1.default)(typeof json === "object", `Config file ${file} must be an object`);
for (const key of Object.keys(json)) {