We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
andersevenrud
Learn more about funding links in repositories.
Report abuse
1 parent bdc8efc commit ba44178Copy full SHA for ba44178
src/core.js
@@ -61,7 +61,7 @@ class Core extends CoreBase {
61
62
const argv = minimist(options.argv);
63
const val = k => argvToConfig[k](parseJson(argv[k]));
64
- const keys = Object.keys(argvToConfig).filter(k => argv.hasOwnProperty(k));
+ const keys = Object.keys(argvToConfig).filter(k => Object.prototype.hasOwnProperty.call(argv, k));
65
const argvConfig = keys.reduce((o, k) => {
66
logger.info(`CLI argument '--${k}' overrides`, val(k));
67
0 commit comments