*Update dist

This commit is contained in:
Derrick Hammer 2022-09-21 17:28:37 -04:00
parent 438c3df467
commit 3a030e051b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 3 deletions

4
dist/index.js vendored
View File

@ -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);