From ce186487f4402ccd594b6bbb4b46e999b896a063 Mon Sep 17 00:00:00 2001 From: Adnan Hajdarevic Date: Mon, 2 Dec 2019 19:03:38 +0100 Subject: [PATCH] Format the file using `go fmt`. --- webhook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webhook.go b/webhook.go index 502d798..7e37aef 100644 --- a/webhook.go +++ b/webhook.go @@ -341,8 +341,8 @@ func handleHook(h *hook.Hook, rid string, headers, query, payload *map[string]in // check the command exists cmdPath, err := exec.LookPath(h.ExecuteCommand) if err != nil { - // give a last chance, maybe is a relative path - relativeToCwd := filepath.Join(h.CommandWorkingDirectory, h.ExecuteCommand) + // give a last chance, maybe is a relative path + relativeToCwd := filepath.Join(h.CommandWorkingDirectory, h.ExecuteCommand) // check the command exists cmdPath, err = exec.LookPath(relativeToCwd) }