Fix line break for MS teams webhook (#13081)

Signed-off-by: Ivan Valdes <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
This commit is contained in:
Iván Valdés
2020-10-09 01:30:55 -04:00
committed by GitHub
co-authored by GitHub Lauris BH
parent 508aca1cc0
commit 06f1cdde6e
+1 -1
View File
@@ -229,7 +229,7 @@ func (m *MSTeamsPayload) Push(p *api.PushPayload) (api.Payloader, error) {
strings.TrimRight(commit.Message, "\r\n"), commit.Author.Name)
// add linebreak to each commit but the last
if i < len(p.Commits)-1 {
text += "\n"
text += "\n\n"
}
}