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

+1 -1
View File
@@ -7,7 +7,7 @@ import (
func writeJson(findings []Finding, w io.WriteCloser) error {
if len(findings) == 0 {
return nil
findings = []Finding{}
}
encoder := json.NewEncoder(w)
encoder.SetIndent("", " ")