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

husky 0.11.5 breaks hooks #60

Closed
codeheroics opened this issue Jul 25, 2016 · 4 comments
Closed

husky 0.11.5 breaks hooks #60

codeheroics opened this issue Jul 25, 2016 · 4 comments

Comments

@codeheroics
Copy link

Hi,

I have an issue with husky 0.11.5, which breaks my ability to git push correctly as it gives me an error:

Here it is (with edits to the relevant parts of the project name):

.git/hooks/pre-push: 10: export: git@gitlab.subdomain.hostname.fr:group-name/ProjectName.git: bad variable name
error: failed to push some refs to 'git@gitlab.subdomain.hostname.fr:group-name/ProjectName.git'

The issue appeared with 0.11.5. as npm i husky@0.11.4 fixes the issue

@natelaws
Copy link

Yep, just ran into the same problem with the same solution.

Kinda surprised to see export GIT_PARAMS=$* having issues. But it apparently does.

@typicode
Copy link
Owner

There are 2 PRs that should fix the issue #56 #57

Just need to do a quick check on Ubuntu today (was on vacation last week), and it should be good.

BTW @codeheroics and @natelaws you're on Linux ?

@typicode
Copy link
Owner

Just published v0.11.6. Thank you to @guilouro and @andywer for the PRs.

@codeheroics
Copy link
Author

Yes, I'm using Ubuntu.
I can confirm v0.11.6 fixes this! Thanks!

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

3 participants