Skip to content

Commit

Permalink
fix: new package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mathild3r committed Jul 9, 2021
1 parent f66fa3a commit 47ce832
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 80 deletions.
148 changes: 74 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions src/lib/github/commitStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ export const sendCommitStatus = async (snykDeltaBinaryResult: number, snykProjec
data.target_url = `https://app.snyk.io/org/${snykProjectDetails.orgName}/project/${snykProjectDetails.projectID}`
}

// Overwrite snykDeltaBinaryResult because setPassIfNoBaselineFlag is true
if (issueFoundNoBaseline === true)
{
snykDeltaBinaryResult = 0;
}

switch (snykDeltaBinaryResult) {
case 0:
data.state = ghCommitStatusState.success;
Expand Down

0 comments on commit 47ce832

Please sign in to comment.