diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index 93fcb47f..09152284 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -1,5 +1,5 @@ #!/usr/bin/env sh -. "$(dirname "$0")/_/husky.sh" +. "$(dirname -- "$0")/_/husky.sh" if [ "$2" != "message" ];then exec < /dev/tty && cz --hook "$1" "$2" "$3" || true