No longer generate empty reports (#577)

* return nil when no leaks found and lowercase report format option (#3)

* lowercase format options for consistency

* lowercase report format description

Co-authored-by: eddie-northcutt-wfp0 <eddie.northcutt.wfp0@statefarm.com>
This commit is contained in:
Eddie Austinandeddie-northcutt-wfp0 authored and GitHub committed 2021-09-06 16:39:50 -05:00
1 parent ca987b3842
commit 6018a6bb70
3 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ type Options struct {
// Report Options
Report string `short:"o" long:"report" description:"Report output path"`
ReportFormat string `short:"f" long:"format" default:"json" description:"JSON, CSV, SARIF"`
ReportFormat string `short:"f" long:"format" default:"json" description:"json, csv, sarif"`
// Commit Options
FilesAtCommit string `long:"files-at-commit" description:"Sha of commit to scan all files at commit"`