Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer e11e94c61c
*Update dist 2022-12-19 13:58:29 -05:00
Derrick Hammer 8875bdd2a7
*Bug fix 2022-12-19 13:58:01 -05:00
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -63,7 +63,7 @@ class Config {
(0, bsert_1.default)(typeof json === "object", `Config file ${file} must be an object`);
const settings = (0, deep_to_flat_object_1.default)(json);
for (const key of Object.keys(settings)) {
const value = json[key];
const value = settings[key];
let keyPath = key.split(".");
let isArray = key.includes(".") &&
keyPath.length > 1 &&

View File

@ -74,7 +74,7 @@ export default class Config {
const settings = deepToFlatObject(json);
for (const key of Object.keys(settings)) {
const value = json[key];
const value = settings[key];
let keyPath = key.split(".");
let isArray =