observing/pre-commit

install.js doesn't work with link file of .git.

wonderyl opened this issue · 0 comments

This is the current code in install.js
if (!exists(git) || !fs.lstatSync(git).isDirectory()) return;
Which skips the install if .git is actually a link file.

In our case, we have .git that is a soft link file that points to another location. So the install doesn't work.