From 06f1cdde6edaf99a78ab18e0c1939a2d6ab30fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Vald=C3=A9s?= Date: Thu, 8 Oct 2020 22:30:55 -0700 Subject: [PATCH] Fix line break for MS teams webhook (#13081) Signed-off-by: Ivan Valdes Co-authored-by: Lauris BH --- 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 80998d9f81e..a68c97ea37c 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" } }