We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24be4fc commit 7b77638Copy full SHA for 7b77638
.husky/commit-msg
@@ -1,4 +1,3 @@
1
#!/usr/bin/env sh
2
. "$(dirname -- "$0")/_/husky.sh"
3
-
4
-npx --no -- commitlint --edit ${1}
+. "$(where npx | head -n 1)" --no -- commitlint --edit ${1}
.husky/pre-commit
-npx lint-staged
+. "$(where npx | head -n 1)" lint-staged
0 commit comments