The application resides in a sub directory, but lefthook tires to execute the binary in the project root:
.git/hooks/pre-commit: 37: /home/$PROJECT/node_modules/lefthook-linux-x64/bin/lefthook: not found
# actual location:
# /home/$PROJECT/frontend/node_modules/lefthook-linux-x64/bin/lefthook
:ballot_box_with_check: Checklist
[ ] Check locally
[ ] Add tests
[ ] Add documentation
I think it was a copy&paste error. Feel free to just close this PR if it's bogus.
Having issues after upgrading:
The application resides in a sub directory, but lefthook tires to execute the binary in the project root:
:ballot_box_with_check: Checklist
I think it was a copy&paste error. Feel free to just close this PR if it's bogus.