*Update dist
This commit is contained in:
parent
c416218d88
commit
3e412d5090
|
@ -120,7 +120,7 @@ class Config {
|
|||
(0, bsert_1.default)(typeof json === "object", `Config file ${file} must be an object`);
|
||||
for (const key of Object.keys(json)) {
|
||||
const value = json[key];
|
||||
switch (value) {
|
||||
switch (true) {
|
||||
case Array.isArray(value):
|
||||
this.set(key, [...(this.array(key) ?? []), ...value]);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue