From 8888a162d742f1f4ac59ca9a00ad63014becbd6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Wed, 22 Jul 2020 22:51:59 +0900 Subject: [PATCH] chore(eslint): bump to 3.0.0 w/ fix (#511) --- package.json | 2 +- src/cli.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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,