diff --git a/husky b/husky index facf66f95..bf7c89640 100644 --- a/husky +++ b/husky @@ -13,10 +13,10 @@ i="${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh" [ "${HUSKY-}" = "0" ] && exit 0 -export PATH=node_modules/.bin:$PATH +export PATH="node_modules/.bin:$PATH" sh -e "$s" "$@" c=$? [ $c != 0 ] && echo "husky - $n script failed (code $c)" [ $c = 127 ] && echo "husky - command not found in PATH=$PATH" -exit $c \ No newline at end of file +exit $c