Skip to content

Commit

Permalink
always write sarif results
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav committed Dec 29, 2021
1 parent aae23ac commit 44d7d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report/sarif.go
Expand Up @@ -64,7 +64,7 @@ func messageText(f Finding) string {
}

func getResults(findings []Finding) []Results {
var results []Results
results := []Results{}
for _, f := range findings {
r := Results{
Message: Message{
Expand Down

0 comments on commit 44d7d89

Please sign in to comment.