Skip to content

Commit 0a5f393

Browse files
fix: npm install --dev deprecation message
Related to npm#1539
1 parent 42e4625 commit 0a5f393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ function install (where, args, cb) {
197197
var dryrun = !!npm.config.get('dry-run')
198198

199199
if (npm.config.get('dev')) {
200-
log.warn('install', 'Usage of the `--dev` option is deprecated. Use `--only=dev` instead.')
200+
log.warn('install', 'Usage of the `--dev` option is deprecated. Use `--also=dev` instead.')
201201
}
202202

203203
if (where === globalTop && !args.length) {

0 commit comments

Comments
 (0)