From 75cf8952be6712144c0912dfe74b0a7146409a0a Mon Sep 17 00:00:00 2001 From: Adnan Hajdarevic Date: Thu, 29 Sep 2016 20:11:20 +0200 Subject: [PATCH] remove \n --- webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook.go b/webhook.go index 36a303b..20ac190 100644 --- a/webhook.go +++ b/webhook.go @@ -227,7 +227,7 @@ func hookHandler(w http.ResponseWriter, r *http.Request) { if err != nil { w.Header().Set("Content-Type", "text/plain; charset=utf-8") w.WriteHeader(http.StatusInternalServerError) - fmt.Fprintf(w, "Error occurred while executing the hook's command. Please check your logs for more details.\n") + fmt.Fprintf(w, "Error occurred while executing the hook's command. Please check your logs for more details.") } else { fmt.Fprintf(w, response) }