lefthook install fails when no git is available #348
Answered
by
mrexox
JuliusHenke
asked this question in
Q&A
-
I currently need to install a project in a > ... postinstall
> lefthook install -f
Error: exec: "git": executable file not found in $PATH
npm ERR! code 1 Could the lefthook install rather print a warning than fail with an error if no |
Beta Was this translation helpful? Give feedback.
Answered by
mrexox
Nov 1, 2022
Replies: 1 comment
-
You can also set the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JuliusHenke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also set the
CI
variable in the container: see docs for disabling lefthook install in CI