commit-msg 273 B

12345678910111213
  1. #!/usr/bin/env sh
  2. . "$(dirname -- "$0")/_/husky.sh"
  3. # Load nvm
  4. export NVM_DIR="$HOME/.nvm"
  5. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
  6. # Use the correct Node.js version
  7. nvm use v20.15.1
  8. # Run the commit-msg hook
  9. npx --no-install commitlint --edit