This commit is contained in:
Timo Hocker 2020-05-18 09:55:09 +02:00
parent cb6e776a26
commit f04c66294e

View File

@ -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'