From b12c69e3d736550c0030e3291891f172dbad2aa6 Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Tue, 5 Mar 2019 15:12:05 -0500 Subject: [PATCH] fix: proxy git args to scripts with custom runners --- cmd/run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/run.go b/cmd/run.go index d34069d8..24193077 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -216,6 +216,7 @@ func executeScript(hooksGroup, source string, executable os.FileInfo, wg *sync.W if haveRunner(hooksGroup, scriptsConfigKey, executableName) { runnerArg := strings.Split(getRunner(hooksGroup, scriptsConfigKey, executableName), " ") runnerArg = append(runnerArg, pathToExecutable) + runnerArg = append(runnerArg, gitArgs[:]...) command = exec.Command(runnerArg[0], runnerArg[1:]...) }