Browse Source

Fix line break for MS teams webhook (#13081)

Signed-off-by: Ivan Valdes <ivan@vald.es>

Co-authored-by: Lauris BH <lauris@nix.lv>
tags/v1.13.0-rc1
Iván Valdés 3 years ago
parent
commit
06f1cdde6e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/webhook/msteams.go

+ 1
- 1
modules/webhook/msteams.go 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"
}
}


Loading…
Cancel
Save