From 9edbc3d356ff778f96f4d0a5eee912d88dfe37b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandra=20Tatarevi=C4=87ov=C3=A1?= Date: Tue, 28 Jul 2020 18:09:47 +0200 Subject: [PATCH] fix: npm install --dev deprecation message Related to #1539 --- lib/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install.js b/lib/install.js index ef492063b3a46..082eda5165e3f 100644 --- a/lib/install.js +++ b/lib/install.js @@ -197,7 +197,7 @@ function install (where, args, cb) { var dryrun = !!npm.config.get('dry-run') if (npm.config.get('dev')) { - log.warn('install', 'Usage of the `--dev` option is deprecated. Use `--only=dev` instead.') + log.warn('install', 'Usage of the `--dev` option is deprecated. Use `--also=dev` instead.') } if (where === globalTop && !args.length) {