From 3e412d509062fb39d6aa5fb2903125353b3bab64 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 21 Sep 2022 17:36:47 -0400 Subject: [PATCH] *Update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index f7516d5..5ee03e0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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;