From f04c66294ea47a59ecdded50a06535b3d4679a22 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 18 May 2020 09:55:09 +0200 Subject: [PATCH] fix --- lib/Sources/ArgSource.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sources/ArgSource.ts b/lib/Sources/ArgSource.ts index 141eb5d..e5ebc27 100644 --- a/lib/Sources/ArgSource.ts +++ b/lib/Sources/ArgSource.ts @@ -49,7 +49,7 @@ export class ArgSource extends OptionSource { } await Promise.all (options.map ((opt) => { - if (argv[opt.name] === 'undefined') + if (typeof argv[opt.name] === 'undefined') return Promise.resolve (); if ( opt.type === 'array'