working on tests now

This commit is contained in:
zach rice committed 2019-03-28 13:13:26 -05:00
1 parent ac14d347de
commit ae4542abf0
8 files changed
+951 -43

No files matched your search

+7 -8
View File
@@ -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)...)
}