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

Can't remove dependency without breaking git #169

Open
Mattsi-Jansky opened this issue Apr 25, 2019 · 0 comments
Open

Can't remove dependency without breaking git #169

Mattsi-Jansky opened this issue Apr 25, 2019 · 0 comments

Comments

@Mattsi-Jansky
Copy link

We want to remove the pre-git dependency from one of our repos that's used semi-regularly across two big teams. The problem we've found is that the pre-commit hooks have already been installed in the repo checkouts of anyone that has built it before. Thus, if we remove the dependency all of their git actions will fail because ./node_modules/.bin/commit-msg is missing.

This would be really simple to fix by wrapping ./node_modules/.bin/commit-msg in a if clause, and make removing this dependency much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant