Closed bbondy closed 8 years ago
You're running async code in a sync flow so things like that try/catch statement is not going to work if the operation fails. This makes very little sense and will cause major issues.
The reason that we symlink is because we need to keep references to the node_modules folder that githook uses. I don't know if this will still work if we copy the file to a completely different directory.
ya it should be sync. It might make very little sense but it does work for Windows when using a pre-commit lint and the package as is does not work on Windows.
Symlink requires admin on Windows