mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
adding some more defaults
This commit is contained in:
1 parent
107d582e7b
commit
9554258d02
2 files changed
+25
-21
No files matched your search
@@ -143,12 +143,8 @@ func auditGithubRepos() ([]Leak, error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if opts.Disk {
|
||||
ownerDir, err = ioutil.TempDir(dir, opts.GithubUser)
|
||||
os.RemoveAll(ownerDir)
|
||||
ownerDir, _ = ioutil.TempDir(dir, opts.GithubUser)
|
||||
}
|
||||
for _, githubRepo := range githubRepos {
|
||||
repo, err := cloneGithubRepo(githubRepo)
|
||||
|
||||
Reference in new issue
Block a user