diff --git a/.gitignore b/.gitignore index f7fd3ace..dfc62ee6 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,6 @@ public/img/avatar/ profile/ *.pem output* -gogs.sublime-project -gogs.sublime-workspace +*.sublime-project +*.sublime-workspace /release diff --git a/models/webhook_discord.go b/models/webhook_discord.go index 097c6f89..820637fb 100644 --- a/models/webhook_discord.go +++ b/models/webhook_discord.go @@ -105,7 +105,7 @@ func getDiscordPushPayload(p *api.PushPayload, slack *SlackMeta) (*DiscordPayloa repoLink := DiscordLinkFormatter(p.Repo.HTMLURL, p.Repo.Name) branchLink := DiscordLinkFormatter(p.Repo.HTMLURL+"/src/"+branchName, branchName) - content := fmt.Sprintf("Pushed %s to %s/%s:\n", commitString, repoLink, branchLink) + content := fmt.Sprintf("Pushed %s to %s/%s\n", commitString, repoLink, branchLink) // for each commit, generate attachment text for i, commit := range p.Commits {