more cleaningup

This commit is contained in:
Zach Rice committed 2022-03-11 18:01:40 -06:00
1 parent c53e0fc98d
commit c98afd3dec
3 files changed
+2 -53

No files matched your search

-1
View File
@@ -82,7 +82,6 @@ func runDetect(cmd *cobra.Command, args []string) {
}
if noGit {
// TODO treat the repo as a directory
findings, err = detector.DetectFiles(source)
if err != nil {
// don't exit on error, just log it