Просмотр исходного кода

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

Kai 5 лет назад
Родитель
Сommit
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 == "" {