mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +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
+7
-8
@@ -67,14 +67,13 @@ func auditGithubPR() ([]Leak, error) {
|
||||
}
|
||||
|
||||
commit := commitInfo{
|
||||
sha: c.GetSHA(),
|
||||
content: *f.Patch,
|
||||
filePath: *f.Filename,
|
||||
repoName: repo,
|
||||
githubCommit: c,
|
||||
author: c.GetCommitter().GetLogin(),
|
||||
message: *c.Commit.Message,
|
||||
date: *c.Commit.Committer.Date,
|
||||
sha: c.GetSHA(),
|
||||
content: *f.Patch,
|
||||
filePath: *f.Filename,
|
||||
repoName: repo,
|
||||
author: c.GetCommitter().GetLogin(),
|
||||
message: *c.Commit.Message,
|
||||
date: *c.Commit.Committer.Date,
|
||||
}
|
||||
leaks = append(leaks, inspect(commit)...)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user