Skip to content

Commit 35d050c

Browse files
author
Dario Soller
committed
Revert "chore: fix husky pre-commit hook for dev environments using NVM"
This reverts commit 66152ef.
1 parent fa9a39a commit 35d050c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
#!/usr/bin/env sh
2-
# This loads nvm.sh and sets the correct PATH before running hook
3-
export NVM_DIR="$HOME/.nvm"
4-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
5-
62
. "$(dirname -- "$0")/_/husky.sh"
73

84
npx --no-install lint-staged

0 commit comments

Comments
 (0)