Skip to content

Commit

Permalink
Update log warning for audit fix --force
Browse files Browse the repository at this point in the history
  • Loading branch information
hughevans committed Dec 31, 2018
1 parent ab0f026 commit 7cc2f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
loadErr = er
if (er) return cb_(er)
if (npm.config.get('force')) {
log.warn('using --force', 'I sure hope you know what you are doing.')
log.warn('using --force', 'Install semver-major updates to toplevel dependencies, not just semver-compatible ones.')
}
npm.config.loaded = true
loaded = true
Expand Down

0 comments on commit 7cc2f51

Please sign in to comment.