*Update dist

This commit is contained in:
Derrick Hammer 2022-09-21 17:36:47 -04:00
parent c416218d88
commit 3e412d5090
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -120,7 +120,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`);
for (const key of Object.keys(json)) { for (const key of Object.keys(json)) {
const value = json[key]; const value = json[key];
switch (value) { switch (true) {
case Array.isArray(value): case Array.isArray(value):
this.set(key, [...(this.array(key) ?? []), ...value]); this.set(key, [...(this.array(key) ?? []), ...value]);
break; break;