mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Add option to include Line field in report (#1616)
Signed-off-by: Taiki Ono <taiki@finatext.com>
This commit is contained in:
1 parent
dbb42a727d
commit
8e94f98e92
7 files changed
+80
-22
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ type Finding struct {
|
||||
StartColumn int
|
||||
EndColumn int
|
||||
|
||||
Line string `json:"-"`
|
||||
Line string `json:",omitempty"`
|
||||
|
||||
Match string
|
||||
|
||||
|
||||
Reference in new issue
Block a user