From 5481971d8dae490a467dd592ca301e72acb2254a Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Thu, 30 Dec 2021 21:36:34 -0500 Subject: A bit of fixing --- src/commands/config/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/config') diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts index 87397ee..1251f1f 100644 --- a/src/commands/config/config.ts +++ b/src/commands/config/config.ts @@ -320,7 +320,7 @@ export default class SettingsCommand extends BushCommand { } } - assert(typeof feat === 'string', `feat is not a string: ${util.inspect(feat)}`); + assert(typeof feat === 'string' || Array.isArray(feat), `feat is not a string: ${util.inspect(feat)}`); return Array.isArray(feat) ? feat.length -- cgit