We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using certain node version managers, there is sometimes no npx executable in path, and commit hooks fail when executed from a GUI git client:
npx
.git/hooks/pre-commit: line 2: npx: command not found
husky works around that case by executing ~/.huskyrc prior to commit hook: typicode/husky#369
~/.huskyrc
For instance, for mise it would contain:
export PATH="$HOME/.local/share/mise/shims:$PATH"
Can we have a similar option in simple-git-hooks?
The text was updated successfully, but these errors were encountered:
Hi, nice suggestion. Feel free to send pull request to this repo 🚀
Sorry, something went wrong.
feat: use SIMPLE_GIT_HOOKS_RC to run optional init script (toplenbore…
949b89e
…n#102)
feat: use SIMPLE_GIT_HOOKS_RC to run optional init script (#102)
a315a60
Should be live in 2.10.0. Thanks @IlyaSemenov for the issue and the fix!
2.10.0
https://www.npmjs.com/package/simple-git-hooks
No branches or pull requests
When using certain node version managers, there is sometimes no
npx
executable in path, and commit hooks fail when executed from a GUI git client:husky works around that case by executing
~/.huskyrc
prior to commit hook: typicode/husky#369For instance, for mise it would contain:
Can we have a similar option in simple-git-hooks?
The text was updated successfully, but these errors were encountered: