From 19f178b03fb431fa1361ad58e6320a63013e0c50 Mon Sep 17 00:00:00 2001 From: A_D Date: Sat, 17 Nov 2018 16:46:31 +0200 Subject: [PATCH] added missing newline --- webhooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhooks.go b/webhooks.go index a2f1288..fa4bede 100644 --- a/webhooks.go +++ b/webhooks.go @@ -114,6 +114,6 @@ func handleIssueComment(data []byte) { ) fmt.Printf(INDENT + "---\n") - msg := strings.Replace(action.Comment.Body, "\n", strings.Repeat(INDENT, 2), -1) + msg := strings.Replace(action.Comment.Body, "\n", strings.Repeat(INDENT, 2) + "\n", -1) fmt.Printf(strings.Repeat(INDENT, 2) + msg) }