always write sarif results

This commit is contained in:
Zach Rice committed 2021-12-28 19:13:26 -06:00
1 parent aae23acff3
commit 44d7d89e19
1 file changed
+1 -1
+1 -1
View File
@@ -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{