*Update dist
This commit is contained in:
parent
ea0e7a3696
commit
7483aafb46
|
@ -115,7 +115,7 @@ class Config {
|
||||||
catch (e) {
|
catch (e) {
|
||||||
if (e.code === "ENOENT")
|
if (e.code === "ENOENT")
|
||||||
return;
|
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`);
|
(0, bsert_1.default)(typeof json === "object", `Config file ${file} must be an object`);
|
||||||
for (const key of Object.keys(json)) {
|
for (const key of Object.keys(json)) {
|
||||||
|
|
Loading…
Reference in New Issue