mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
write a report regardless if leaks are present (#758)
This commit is contained in:
1 parent
36779df3bb
commit
43ec22429f
4 files changed
+3
-6
No files matched your search
@@ -14,9 +14,6 @@ const (
|
||||
)
|
||||
|
||||
func Write(findings []Finding, cfg config.Config, ext string, reportPath string) error {
|
||||
if len(findings) == 0 {
|
||||
return nil
|
||||
}
|
||||
file, err := os.Create(reportPath)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user