Skip to content

Lefthook config file not found when git is initialized in ancestor folder #424

Answered by JacobMu
JacobMu asked this question in Q&A
Discussion options

You must be logged in to vote

Never mind, I previously thought that lefthook needs to be in the same folder as package.json and node_modules. However, it works perfectly fine when I moved it to the folder where git was initialized.
This can be closed, sorry for the inconvenience.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JacobMu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant