Merge pull request #145 from camaya/update-report-commit-message

Remove break lines in commit messages
This commit is contained in:
Zachary Rice authored and GitHub committed 2018-11-06 08:31:49 -06:00
commit c50187559b
1 file changed
+1 -1
+1 -1
View File
@@ -523,7 +523,7 @@ func auditGitReference(repo *RepoDescriptor, ref *plumbing.Reference) []Leak {
content: chunk.Content(),
sha: c.Hash.String(),
author: c.Author.String(),
message: c.Message,
message: strings.Replace(c.Message, "\n", " ", -1),
date: c.Author.When,
}
chunkLeaks := inspect(diff)