print tags if they exist

This commit is contained in:
Zach committed 2024-10-02 20:06:31 -05:00
1 parent 2278a2a97e
commit 9c354f51c3
1 file changed
+3
+3
View File
@@ -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 == "" {