Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gitDir):
gitDir
should only be applied when using git
binary
Inverses logic of checking for "not equal to `npm`", instead check that binary to run is equal to `git` (and accounting for absolute paths). This means that commands besides `npm` will also run in CWD instead of `gitDir`. Closes lint-staged#158
- Loading branch information