You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: When running npx husky install or npm run prepare, the husky.sh file within .husky/_ directory is left empty, causing hooks configured in the .husky directory to not function properly.
Steps to Reproduce:
Run npx husky install or npm run prepare to generate Husky configuration files.
Check the contents of the husky.sh file within the .husky/_ directory.
Terminal or GUI client: Git Bash, GitHub Desktop, VSCode
The text was updated successfully, but these errors were encountered:
Ok, I understand the functionality does not change and remains the same, so if I leave this like this it works normally and no additional adjustments should be made.
Troubleshoot
https://typicode.github.io/husky/troubleshoot.html
If you're migrating from husky 4, see:
https://typicode.github.io/husky/migrate-from-v4.html
Context
Problem: When running
npx husky install
ornpm run prepare
, thehusky.sh
file within.husky/_
directory is left empty, causing hooks configured in the.husky
directory to not function properly.This is my package.json
Steps to Reproduce:
Run
npx husky install
ornpm run prepare
to generate Husky configuration files.Check the contents of the
husky.sh
file within the.husky/_
directory.The text was updated successfully, but these errors were encountered: