added support for scanning only single remote branch

This commit is contained in:
Adam Kobi committed 2018-12-29 13:10:39 +02:00
1 parent 1cdf315bfa
commit 432c76a9d9
2 files changed
+24 -4

No files matched your search

+4
View File
@@ -159,6 +159,10 @@ func auditGithubRepos() ([]Leak, error) {
continue
}
leaksFromRepo, err := auditGitRepo(repo)
if err != nil {
log.Warn(err)
continue
}
if opts.Disk {
os.RemoveAll(fmt.Sprintf("%s/%s", ownerDir, *githubRepo.Name))
}