mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
always write sarif results
This commit is contained in:
1 parent
aae23acff3
commit
44d7d89e19
1 file changed
+1
-1
+1
-1
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user