Skip to content

Commit c1dad1e

Browse files
bradsk88zkat
authored andcommitted
audit: update fix message to provide more instruction (#6)
Fixes: https://npm.community/t/npm-audit-fix-does-not-provide-enough-information/377 PR-URL: #6 Credit: @bradsk88 Reviewed-By: @zkat
1 parent ab3c62a commit c1dad1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/audit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ function auditCmd (args, cb) {
249249
if (installMajor) {
250250
output(' (installed due to `--force` option)')
251251
} else {
252-
output(' (use `npm audit fix --force` to install breaking changes; or do it by hand)')
252+
output(' (use `npm audit fix --force` to install breaking changes;' +
253+
' or refer to `npm audit` for steps to fix these manually)')
253254
}
254255
}
255256
}

0 commit comments

Comments
 (0)