Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7 from snyk-tech-services/test/worflow
Browse files Browse the repository at this point in the history
change failure check
  • Loading branch information
mathild3r authored Sep 20, 2021
2 parents a807bf2 + 437c60c commit 7745d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const runAction = async () => {

const packageLock = await apiTool.main();

if (packageLock.exitCode == 1) {
if (packageLock.exitCode === 1) {
throw new Error("Vulnerabilities found!");
}

Expand Down

0 comments on commit 7745d42

Please sign in to comment.