Skip to content

Commit

Permalink
Merge pull request #53 from PaloAltoNetworks/52-reusable-action-faili…
Browse files Browse the repository at this point in the history
…ng-to-format-sarif-file-unknown-severity-unreviewed

add support for unreviewed sev
  • Loading branch information
sgordon46 authored Mar 8, 2024
2 parents 0c9409e + cb6b72c commit fc79ed8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14148,6 +14148,7 @@ function convertPrismaSeverity(severity) {
return "none";
case "unimportant":
case "negligible":
case "unreviewed":
return "none";
default:
throw new Error(`Unknown severity: ${severity}`);
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ function convertPrismaSeverity(severity) {
return "none";
case "unimportant":
case "negligible":
case "unreviewed":
return "none";
default:
throw new Error(`Unknown severity: ${severity}`);
Expand Down

0 comments on commit fc79ed8

Please sign in to comment.