diff --git a/package.json b/package.json index 3fd10d797..8a052c286 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "update-notifier": "^2.5.0" }, "devDependencies": { - "@cordova/eslint-config": "^2.0.0", + "@cordova/eslint-config": "^3.0.0", "jasmine": "^3.5.0", "mock-stdin": "^0.3.1", "nyc": "^14.1.1", diff --git a/src/cli.js b/src/cli.js index 6f674af69..fa6146e04 100644 --- a/src/cli.js +++ b/src/cli.js @@ -310,7 +310,7 @@ function cli (inputArgs) { } if (warningPartial) { - const upgradeMsg = `Please upgrade to the latest Node.js version available (LTS version recommended).`; + const upgradeMsg = 'Please upgrade to the latest Node.js version available (LTS version recommended).'; logger.warn(`Warning: Node.js ${NODE_VERSION} ${warningPartial}. ${upgradeMsg}`); } @@ -451,7 +451,8 @@ function cli (inputArgs) { args['save-exact'] = conf.get('save-exact'); } - var download_opts = { searchpath: args.searchpath, + var download_opts = { + searchpath: args.searchpath, noregistry: args.noregistry, nohooks: args.nohooks, cli_variables: cli_vars,