*Update dist
This commit is contained in:
parent
8875bdd2a7
commit
e11e94c61c
|
@ -63,7 +63,7 @@ class Config {
|
||||||
(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`);
|
||||||
const settings = (0, deep_to_flat_object_1.default)(json);
|
const settings = (0, deep_to_flat_object_1.default)(json);
|
||||||
for (const key of Object.keys(settings)) {
|
for (const key of Object.keys(settings)) {
|
||||||
const value = json[key];
|
const value = settings[key];
|
||||||
let keyPath = key.split(".");
|
let keyPath = key.split(".");
|
||||||
let isArray = key.includes(".") &&
|
let isArray = key.includes(".") &&
|
||||||
keyPath.length > 1 &&
|
keyPath.length > 1 &&
|
||||||
|
|
Loading…
Reference in New Issue