Skip to content

Commit

Permalink
Fix pre-commit hook in WebStorm (typicode#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyh authored and nikoladavitkovski committed Sep 2, 2022
1 parent b1e8adb commit 60b4080
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 60b4080

Please sign in to comment.