diff --git a/husky.sh b/husky.sh index 5f7c17c20..6809ccca2 100644 --- a/husky.sh +++ b/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")"