From b2793dbdb16fb834cf1f6b4a0f0d3a5f762f0a3e Mon Sep 17 00:00:00 2001 From: "Ivan Valdes (@ivanvc)" Date: Thu, 8 Oct 2020 20:42:02 -0700 Subject: [PATCH] Fix line break for MS teams webhook Signed-off-by: Ivan Valdes --- modules/webhook/msteams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webhook/msteams.go b/modules/webhook/msteams.go index 80998d9f81e49..a68c97ea37ce8 100644 --- a/modules/webhook/msteams.go +++ b/modules/webhook/msteams.go @@ -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" } }