*Update dist
This commit is contained in:
parent
438c3df467
commit
3a030e051b
|
@ -122,9 +122,7 @@ class Config {
|
||||||
const value = json[key];
|
const value = json[key];
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case Array.isArray(value):
|
case Array.isArray(value):
|
||||||
let newVal = this.array(key) ?? [];
|
this.set(key, [...(this.array(key) ?? []), ...value]);
|
||||||
newVal.push(value);
|
|
||||||
this.set(key, newVal);
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
this.set(key, value);
|
this.set(key, value);
|
||||||
|
|
Loading…
Reference in New Issue