Skip to content

Commit

Permalink
fix `error: failed to push some refs to git@github.com:wechaty/wechat…
Browse files Browse the repository at this point in the history
…y.git` in push hook
  • Loading branch information
huan committed Nov 12, 2016
1 parent 7b04a3c commit 1b2f81a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ npm run lint
echo
exit 127
}

# must run this after the above `test` ([ -z ...]),
# or will whow a error: error: failed to push some refs to 'git@github.com:wechaty/wechaty.git'
echo "PRE-PUSH HOOK PASSED"

0 comments on commit 1b2f81a

Please sign in to comment.