Skip to content

Commit 27cccfb

Browse files
sapeginisaacs
authored andcommitted
vulns → vulnerabilities in npm audit output
Consistently use “vulnerabilities” in the message, don't use confusing “vulns”. PR-URL: #223 Credit: @sapegin Close: #223 Reviewed-by: @isaacs
1 parent aacd355 commit 27cccfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/audit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function auditCmd (args, cb) {
277277
output(` ${actions.review.size} vulnerabilit${actions.review.size === 1 ? 'y' : 'ies'} required manual review and could not be updated`)
278278
}
279279
if (actions.major.size) {
280-
output(` ${actions.major.size} package update${actions.major.size === 1 ? '' : 's'} for ${actions.majorFixes.size} vuln${actions.majorFixes.size === 1 ? '' : 's'} involved breaking changes`)
280+
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`)
281281
if (installMajor) {
282282
output(' (installed due to `--force` option)')
283283
} else {

0 commit comments

Comments
 (0)