This commit is contained in:
Apple 2021-07-17 12:48:33 +02:00
parent fa263732c3
commit f81ad4c57c

View file

@ -16,10 +16,10 @@ const appArgv = (cfg) => {
// init
const parseDefault = (key, _default) => {
if (Object.prototype.hasOwnProperty.call(cfg, key)) {
return cfg[key]
return cfg[key];
} else
return _default
}
return _default;
};
const argv = yargs.parserConfiguration({
'duplicate-arguments-array': true,