mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04: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 {
|
func getResults(findings []Finding) []Results {
|
||||||
var results []Results
|
results := []Results{}
|
||||||
for _, f := range findings {
|
for _, f := range findings {
|
||||||
r := Results{
|
r := Results{
|
||||||
Message: Message{
|
Message: Message{
|
||||||
|
|||||||
Reference in new issue
Block a user