From eaeb3f678e6ba6ff86c78585bbdc0bc8dcf661df Mon Sep 17 00:00:00 2001 From: Rafael Bodill Date: Fri, 25 Aug 2017 17:08:48 +0300 Subject: [PATCH] Fix Build.Message retrieval (#48) --- plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.go b/plugin.go index 80e12d2..0600a68 100644 --- a/plugin.go +++ b/plugin.go @@ -239,7 +239,7 @@ func (p Plugin) Exec() error { if p.Config.Format == "markdown" { message = escapeMarkdown(message) - p.Build.Message = escapeMarkdownOne(p.Build.Author) + p.Build.Message = escapeMarkdownOne(p.Build.Message) p.Build.Branch = escapeMarkdownOne(p.Build.Branch) p.Build.Author = escapeMarkdownOne(p.Build.Author) p.Build.Email = escapeMarkdownOne(p.Build.Email)