Skip to content

Commit

Permalink
chore: update browserslist DB
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed authored and github-actions[bot] committed Jan 6, 2025
1 parent 346e15a commit e7a3f91
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions .husky/_/husky.sh
Original file line number Diff line number Diff line change
@@ -1,31 +1,9 @@
#!/bin/sh
if [ -z "$husky_skip_init" ]; then
debug () {
if [ "$HUSKY_DEBUG" = "1" ]; then
echo "husky (debug) - $1"
fi
}
echo "husky - DEPRECATED
readonly hook_name="$(basename "$0")"
debug "starting $hook_name..."
Please remove the following two lines from $0:
if [ "$HUSKY" = "0" ]; then
debug "HUSKY env variable is set to 0, skipping hook"
exit 0
fi
#!/usr/bin/env sh
. \"\$(dirname -- \"\$0\")/_/husky.sh\"
if [ -f ~/.huskyrc ]; then
debug "sourcing ~/.huskyrc"
. ~/.huskyrc
fi

export readonly husky_skip_init=1
sh -e "$0" "$@"
exitCode="$?"

if [ $exitCode != 0 ]; then
echo "husky - $hook_name hook exited with code $exitCode (error)"
fi

exit $exitCode
fi
They WILL FAIL in v10.0.0
"

0 comments on commit e7a3f91

Please sign in to comment.