spelling: vuln

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2025-11-04 21:39:50 -05:00
parent 247f07b0c8
commit 66054da10b
+4 -4
View File
@@ -278,13 +278,13 @@ async function printVulnerabilitiesBlock(
warnOnly: boolean warnOnly: boolean
): Promise<boolean> { ): Promise<boolean> {
return core.group('Vulnerabilities', async () => { return core.group('Vulnerabilities', async () => {
let vulFound = false let vulnFound = false
for (const change of addedChanges) { for (const change of addedChanges) {
vulFound ||= printChangeVulnerabilities(change) vulnFound ||= printChangeVulnerabilities(change)
} }
if (vulFound) { if (vulnFound) {
const msg = 'Dependency review detected vulnerable packages.' const msg = 'Dependency review detected vulnerable packages.'
if (warnOnly) { if (warnOnly) {
core.warning(msg) core.warning(msg)
@@ -297,7 +297,7 @@ async function printVulnerabilitiesBlock(
) )
} }
return vulFound return vulnFound
}) })
} }