Skip to content

Commit

Permalink
Update output
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jan 16, 2017
1 parent 0c9a1dc commit ae14df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ function getHookScript (hookName, relativePath, cmd) {

// Run script
'echo',
'echo "husky > npm run -s ' + cmd + '"',
'echo "> husky - npm run -s ' + cmd + '"',
'echo',
'',

'export GIT_PARAMS="$*"',
'npm run -s ' + cmd + ' || {',
' echo',
' echo "> husky - ' + hookName + ' hook failed (add --no-verify to bypass)"',
' echo "> husky - To debug, use \'npm run precommit\'"',
' echo "> husky - to debug, use \'npm run precommit\'"',
' exit 1',
'}',
''
Expand Down

0 comments on commit ae14df2

Please sign in to comment.