write a report regardless if leaks are present (#758)

This commit is contained in:
Zachary Rice authored and GitHub committed 2021-12-17 17:26:14 -06:00
1 parent 36779df3bb
commit 43ec22429f
4 files changed
+3 -6

No files matched your search

-3
View File
@@ -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