mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-28 06:42:56 +00:00
added nvm support for husky
This commit is contained in:
parent
cc1bacf4a8
commit
fec7579e00
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
echo "🔍 Running pre-commit hook to check the code looks good... 🔍"
|
echo "🔍 Running pre-commit hook to check the code looks good... 🔍"
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # Load nvm if you're using i
|
||||||
|
|
||||||
if ! pnpm typecheck; then
|
if ! pnpm typecheck; then
|
||||||
echo "❌ Type checking failed! Please review TypeScript types."
|
echo "❌ Type checking failed! Please review TypeScript types."
|
||||||
echo "Once you're done, don't forget to add your changes to the commit! 🚀"
|
echo "Once you're done, don't forget to add your changes to the commit! 🚀"
|
||||||
|
Loading…
Reference in New Issue
Block a user