Skip to content

Commit

Permalink
Make compatible w/ GitHub Desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
crayolakat committed Nov 14, 2022
1 parent 9ce5253 commit ec60790
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
PATH="/usr/local/bin:$PATH"
if [ -f $HOME/.nvm/nvm.sh ]
then
. $HOME/.nvm/nvm.sh
PATH="$HOME/.nvm/versions/node/v16.18.0/bin:$PATH"
fi

yarn lint-staged

0 comments on commit ec60790

Please sign in to comment.