diff --git a/.husky/commit-msg b/.husky/commit-msg index 5101a23..55a414d 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm exec commithelper -- check --file $1 --fix +./node_modules/.bin/commithelper check --file $1 --fix diff --git a/.husky/pre-commit b/.husky/pre-commit index b4a36dd..e395730 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm exec -- lint-staged +./node_modules/.bin/lint-staged diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index d8861c9..a3bd1d9 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -exec < /dev/tty && npm exec commithelper -- prompt --file $1 +exec < /dev/tty && ./node_modules/.bin/commithelper prompt --file $1