*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];
switch (value) {
case Array.isArray(value):
let newVal = this.array(key) ?? [];
newVal.push(value);
this.set(key, newVal);
this.set(key, [...(this.array(key) ?? []), ...value]);
break;
default:
this.set(key, value);