Remove break lines in commit messages

Breaklines in a csv report caused issues when importing the data to an
spreadsheet application like LibreOffice Calc or Microsoft Excel.
This commit is contained in:
Cristhian Amaya committed 2018-11-06 11:41:38 +01:00
1 parent 60267523e9
commit 7d5ed837a4
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)