git: fix gitea formatting

This commit is contained in:
Chris Sexton 2019-11-02 18:18:15 -04:00 committed by Chris Sexton
parent f1f5fb3c12
commit 8d74baddba
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func (p *GitPlugin) giteaEvent(w http.ResponseWriter, r *http.Request) {
msg := ""
for _, c := range evt.Commits {
m := strings.Split(c.Message, "\n")[0]
msg += fmt.Sprintf("%s pushed to %s (<%s|%s>) %s",
msg += fmt.Sprintf("%s pushed to %s (<%s|%s>) %s\n",
c.Author.Name,
repo,
c.URL,