diff --git a/.npm/bin/lefthook-linux b/.npm/bin/lefthook-linux index 19b10310..2a2c3a37 100755 Binary files a/.npm/bin/lefthook-linux and b/.npm/bin/lefthook-linux differ diff --git a/.npm/bin/lefthook-mac b/.npm/bin/lefthook-mac index a5178450..e9e08dce 100755 Binary files a/.npm/bin/lefthook-mac and b/.npm/bin/lefthook-mac differ diff --git a/.npm/bin/lefthook-win.exe b/.npm/bin/lefthook-win.exe index 56249633..a271d198 100755 Binary files a/.npm/bin/lefthook-win.exe and b/.npm/bin/lefthook-win.exe differ diff --git a/.npm/package.json b/.npm/package.json index 8a77ed36..72d07f1d 100644 --- a/.npm/package.json +++ b/.npm/package.json @@ -1,6 +1,6 @@ { "name": "@arkweid/lefthook", - "version": "0.5.2", + "version": "0.5.3", "description": "Simple git hooks manager", "main": "index.js", "bin": { diff --git a/cmd/run.go b/cmd/run.go index 52a83679..41cfb5d7 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -1,5 +1,4 @@ -// +build linux darwin -// +build 386 +// +build !windows package cmd diff --git a/cmd/run_windows.go b/cmd/run_windows.go index 774f37da..5e5dba62 100644 --- a/cmd/run_windows.go +++ b/cmd/run_windows.go @@ -163,6 +163,8 @@ func executeCommand(hooksGroup, commandName string, wg *sync.WaitGroup) { runnerArg := strings.Split(runner, " ") command := exec.Command(runnerArg[0], runnerArg[1:]...) + command.Stdout = os.Stdout + command.Stderr = os.Stderr command.Stdin = os.Stdin err := command.Start() @@ -216,6 +218,8 @@ func executeScript(hooksGroup, source string, executable os.FileInfo, wg *sync.W command = exec.Command(runnerArg[0], runnerArg[1:]...) } + command.Stdout = os.Stdout + command.Stderr = os.Stderr command.Stdin = os.Stdin err := command.Start() diff --git a/cmd/version.go b/cmd/version.go index 89513968..68a026b0 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -7,7 +7,7 @@ import ( ) const ( - version string = "0.5.2" + version string = "0.5.3" ) // versionCmd represents the version command