Skip to content

Commit

Permalink
Fix pre-commit hook in WebStorm (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyh committed Aug 25, 2021
1 parent 70d6c71 commit 6b82f37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion husky.sh
@@ -1,7 +1,9 @@
#!/bin/sh
if [ -z "$husky_skip_init" ]; then
debug () {
[ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
if [ "$HUSKY_DEBUG" = "1" ]; then
echo "husky (debug) - $1"
fi
}

readonly hook_name="$(basename "$0")"
Expand Down

0 comments on commit 6b82f37

Please sign in to comment.