-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
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
Add .lefthookrc loading #185
Conversation
b95238f
to
016a10b
Compare
Why we need one more config file? Why we can't just add some key to |
Any update on this? |
So the problem is - we need to load @Envek wdyt? |
In #178 lefthook itself is being found correctly, parses Lefthook YAML config and fails to execute commands defined there due to the incomplete PATH set by GUI clients. So there is no need to execute anything in the hook file before invoking Lefthook itself. |
@Envek in #178 Lefhook installed as a local dependency via npm, so I think it is found by this line https://github.com/evilmartians/lefthook/blob/master/cmd/templates/hook.tmpl#L20 But |
Any update on this |
this update need |
Any update? how much time does it take to merge this PR because I have the same issue? |
Fixes #178
Probably fixes also #99
The same workaround used in Husky https://typicode.github.io/husky/#/?id=command-not-found