mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
Always generate a report if --report is enabled (#508)
This commit is contained in:
1 file changed
-1
@@ -27,7 +27,6 @@ func WriteReport(report Report, opts options.Options, cfg config.Config) error {
|
||||
logrus.Warn("leaks found: ", len(report.Leaks))
|
||||
} else {
|
||||
logrus.Info("No leaks found")
|
||||
return nil
|
||||
}
|
||||
|
||||
if opts.Report == "" {
|
||||
|
||||
Reference in new issue
Block a user