diff --git a/scan/report.go b/scan/report.go index 702c5b52..8d82a3f3 100644 --- a/scan/report.go +++ b/scan/report.go @@ -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 == "" {