Skip to content

Commit ba44178

Browse files
committedJan 12, 2020
Eslint pass
1 parent bdc8efc commit ba44178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Core extends CoreBase {
6161

6262
const argv = minimist(options.argv);
6363
const val = k => argvToConfig[k](parseJson(argv[k]));
64-
const keys = Object.keys(argvToConfig).filter(k => argv.hasOwnProperty(k));
64+
const keys = Object.keys(argvToConfig).filter(k => Object.prototype.hasOwnProperty.call(argv, k));
6565
const argvConfig = keys.reduce((o, k) => {
6666
logger.info(`CLI argument '--${k}' overrides`, val(k));
6767

0 commit comments

Comments
 (0)
Please sign in to comment.