4
0
Эх сурвалжийг харах

Always generate a report if --report is enabled (#508)

Kai 5 жил өмнө
parent
commit
c8e15c731a
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  1. 0 1
      scan/report.go

+ 0 - 1
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 == "" {