@@ -1,30 +0,0 @@
2−if [ -z "$husky_skip_init" ]; then
4− [ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
7− readonly hook_name="$(basename "$0")"
8− debug "starting $hook_name..."
10− if [ "$HUSKY" = "0" ]; then
11− debug "HUSKY env variable is set to 0, skipping hook"
15− if [ -f ~/.huskyrc ]; then
16− debug "sourcing ~/.huskyrc"
20− export readonly husky_skip_init=1
24− if [ $exitCode != 0 ]; then
25− echo "husky - $hook_name hook exited with code $exitCode (error)"