Skip to content

Commit

Permalink
Merge pull request #22 from pixee/ryandens/fix-report-generator-sarif…
Browse files Browse the repository at this point in the history
…-input

🐛 fix bug where sarif contents and sha are swapped
  • Loading branch information
ryandens authored May 16, 2024
2 parents baea444 + 12b0f42 commit 964870d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public CodeTFReport createReport(
.map(
sarif -> {
try {
return new CodeTFSarifInput(getSha1(sarif), Files.readString(sarif));
return new CodeTFSarifInput(Files.readString(sarif), getSha1(sarif));
} catch (IOException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 964870d

Please sign in to comment.