Skip to content

Commit

Permalink
fix: error wording on vulnerable paths found (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal authored Mar 4, 2024
1 parent 5770c6e commit 6a3f090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marshalls/snyk.marshall.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Marshall extends BaseMarshall {

if (data && data.issuesCount && data.issuesCount > 0) {
const packageSecurityInfo = `${SNYK_PACKAGE_PAGE}${encodeURIComponent(pkg.packageName)}`
throw new Error(`${data.issuesCount} vulnerabilitie(s) found: ${packageSecurityInfo}`)
throw new Error(`${data.issuesCount} vulnerable path(s) found: ${packageSecurityInfo}`)
}

return data
Expand Down

0 comments on commit 6a3f090

Please sign in to comment.