From 32fb153787a76295544d7393d900249f35e80567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Wed, 16 May 2018 00:19:10 -0700 Subject: [PATCH] feat(install): include `npm audit` recommendation too --- reporters/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporters/install.js b/reporters/install.js index 87a1c36..014420c 100644 --- a/reporters/install.js +++ b/reporters/install.js @@ -50,7 +50,7 @@ const report = function (data, options) { const vulnLabel = Utils.severityLabel(sev[0][0], config.withColor).toLowerCase() log(`${vulnCount} ${vulnLabel} severity vulnerabilit${vulnCount === 1 ? 'y' : 'ies'}`) } - log(' run `npm audit fix` to install recommended updates') + log(' run `npm audit fix` to fix them, or `npm audit` for details') return { report: output.trim(), exitCode: 1