nlf/git-validate — pull request #19 by waneblade (2014-11-26 05:44:39+00:00)
Title: Make it work in Windows

In Windows,
I use precommit-hook
it passed all JSHint, but git didn't commit after checking.
I found this code in https://github.com/cowboy/node-exit/blob/master/lib/exit.js

It works after I added this lines.