husky icon indicating copy to clipboard operation
husky copied to clipboard

Throw error if git is not installed when running install

Open alexandrubau opened this issue 3 years ago • 0 comments

Upon running husky install no error is thrown if git is not present and it makes it hard to understand why the command fails since there is no output.

This mostly happens when running the command in containerised environments which don't come with git preinstalled (such as official node image).

alexandrubau avatar Sep 08 '22 09:09 alexandrubau