Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change git binary check to match end of string (for absolute paths) #1

Merged
merged 2 commits into from
May 17, 2017

Conversation

billyvg
Copy link

@billyvg billyvg commented May 16, 2017

No description provided.

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
@DeFuex DeFuex merged commit 68c0b45 into DeFuex:fix/gitDirBug May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants