From c1dad1e994827f2eab7a13c0f6454f4e4c22ebc2 Mon Sep 17 00:00:00 2001 From: Brad Johnson Date: Sat, 14 Jul 2018 14:18:25 -0600 Subject: [PATCH] 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: https://github.com/npm/cli/pull/6 Credit: @bradsk88 Reviewed-By: @zkat --- lib/audit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/audit.js b/lib/audit.js index 231b65d7b6a13..d1beb046ff1f2 100644 --- a/lib/audit.js +++ b/lib/audit.js @@ -249,7 +249,8 @@ function auditCmd (args, cb) { if (installMajor) { output(' (installed due to `--force` option)') } else { - output(' (use `npm audit fix --force` to install breaking changes; or do it by hand)') + output(' (use `npm audit fix --force` to install breaking changes;' + + ' or refer to `npm audit` for steps to fix these manually)') } } }