mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +01:00
fix broken vet, format some stuff
This commit is contained in:
1 parent
fab4f4e97d
commit
b1d59bf890
6 files changed
+9
-9
No files matched your search
+1
-1
@@ -101,7 +101,7 @@ func printFinding(f report.Finding, noColor bool) {
|
||||
skipColor := noColor
|
||||
finding := ""
|
||||
var secret lipgloss.Style
|
||||
|
||||
|
||||
// Matches from filenames do not have a |line| or |secret|
|
||||
if !isFileMatch {
|
||||
matchInLineIDX := strings.Index(f.Line, f.Match)
|
||||
|
||||
Reference in new issue
Block a user