Skip to content

Commit

Permalink
fix(script): prevent hook from running twice
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Oct 1, 2020
1 parent 4429af7 commit 4367a09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/husky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ if [ -z "$husky_skip_init" ]; then
echo "husky - $hook_name hook exited with code $exitCode (error)"
exit $exitCode
fi

exit 0
fi

0 comments on commit 4367a09

Please sign in to comment.