mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
more cleaningup
This commit is contained in:
1 parent
c53e0fc98d
commit
c98afd3dec
3 files changed
+2
-53
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user