Skip to content

Commit

Permalink
[skip travis] fix stderr output in hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
A.A.Abroskin committed Jun 21, 2019
1 parent f256c78 commit 9a934b9
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
Binary file modified .npm/bin/lefthook-linux
Binary file not shown.
Binary file modified .npm/bin/lefthook-mac
Binary file not shown.
Binary file modified .npm/bin/lefthook-win.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion .npm/package.json
@@ -1,6 +1,6 @@
{
"name": "@arkweid/lefthook",
"version": "0.5.4",
"version": "0.5.5",
"description": "Simple git hooks manager",
"main": "index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion .rubygems/lefthook.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "lefthook"
spec.version = "0.5.4"
spec.version = "0.5.5"
spec.authors = ["A.A.Abroskin"]
spec.email = ["arkweid@evilmartians.com"]

Expand Down
Binary file modified .rubygems/libexec/lefthook-linux
Binary file not shown.
Binary file modified .rubygems/libexec/lefthook-mac
Binary file not shown.
Binary file modified .rubygems/libexec/lefthook-win.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion cmd/add.go
Expand Up @@ -65,7 +65,7 @@ func addHook(hookName string, fs afero.Fs) {
template := "#!/bin/bash\n" + autoInstall(hookName, fs) + "\n" +
`# If can't find lefthook in global scope
# we suppose it in local npm package
if ! type lefthook >/dev/null
if ! type lefthook >/dev/null 2>&1
then
exec npx lefthook run ` + hookName + " $@\nelse\n exec lefthook run " + hookName + " $@\nfi\n"

Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Expand Up @@ -7,7 +7,7 @@ import (
)

const (
version string = "0.5.4"
version string = "0.5.5"
)

// versionCmd represents the version command
Expand Down

0 comments on commit 9a934b9

Please sign in to comment.