Skip to content

Commit

Permalink
vulns → vulnerabilities in npm audit output
Browse files Browse the repository at this point in the history
Consistently use “vulnerabilities” in the message, don't use confusing
“vulns”.

PR-URL: #223
Credit: @sapegin
Close: #223
Reviewed-by: @isaacs
  • Loading branch information
sapegin authored and isaacs committed Aug 1, 2019
1 parent aacd355 commit 27cccfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/audit.js
Expand Up @@ -277,7 +277,7 @@ function auditCmd (args, cb) {
output(` ${actions.review.size} vulnerabilit${actions.review.size === 1 ? 'y' : 'ies'} required manual review and could not be updated`)
}
if (actions.major.size) {
output(` ${actions.major.size} package update${actions.major.size === 1 ? '' : 's'} for ${actions.majorFixes.size} vuln${actions.majorFixes.size === 1 ? '' : 's'} involved breaking changes`)
output(` ${actions.major.size} package update${actions.major.size === 1 ? '' : 's'} for ${actions.majorFixes.size} vulnerabilit${actions.majorFixes.size === 1 ? 'y' : 'ies'} involved breaking changes`)
if (installMajor) {
output(' (installed due to `--force` option)')
} else {
Expand Down

0 comments on commit 27cccfb

Please sign in to comment.