mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
working on tests now
This commit is contained in:
1 parent
ac14d347de
commit
ae4542abf0
8 files changed
+951
-43
No files matched your search
+4
-2
@@ -57,13 +57,15 @@ func auditGitlabRepos() ([]Leak, error) {
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
log.Fatal("error listing projects: ", err) // exit when can't make API call
|
||||
// exit when can't make API call
|
||||
log.Fatal("error listing projects: ", err)
|
||||
}
|
||||
|
||||
repos = append(repos, ps...)
|
||||
|
||||
if page >= resp.TotalPages {
|
||||
break // exit when we've seen all pages
|
||||
// exit when we've seen all pages
|
||||
break
|
||||
}
|
||||
|
||||
page = resp.NextPage
|
||||
|
||||
Reference in new issue
Block a user