mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
print tags if they exist
This commit is contained in:
1 parent
2278a2a97e
commit
9c354f51c3
1 file changed
+3
@@ -162,6 +162,9 @@ func printFinding(f report.Finding, noColor bool) {
|
||||
fmt.Println("")
|
||||
return
|
||||
}
|
||||
if len(f.Tags) > 0 {
|
||||
fmt.Printf("%-12s %s\n", "Tags:", f.Tags)
|
||||
}
|
||||
fmt.Printf("%-12s %s\n", "File:", f.File)
|
||||
fmt.Printf("%-12s %d\n", "Line:", f.StartLine)
|
||||
if f.Commit == "" {
|
||||
|
||||
Reference in new issue
Block a user