Skip to content

Commit 06f1cdd

Browse files
ivanvclafriks
andauthored
Fix line break for MS teams webhook (#13081)
Signed-off-by: Ivan Valdes <[email protected]> Co-authored-by: Lauris BH <[email protected]>
1 parent 508aca1 commit 06f1cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/webhook/msteams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (m *MSTeamsPayload) Push(p *api.PushPayload) (api.Payloader, error) {
229229
strings.TrimRight(commit.Message, "\r\n"), commit.Author.Name)
230230
// add linebreak to each commit but the last
231231
if i < len(p.Commits)-1 {
232-
text += "\n"
232+
text += "\n\n"
233233
}
234234
}
235235

0 commit comments

Comments
 (0)