-
Notifications
You must be signed in to change notification settings - Fork 137
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
Pedantic warning: Return != 0 when a hook fails #112
Conversation
Surprise, surprise: this makes the zunit tests fail ;) There's still a bit more work to do here.
|
Okay, this was easier than I thought. This is still a potentially breaking change, since it makes zinit quite a bit more strict in regards to return codes. |
I'm cool with a major version bump if this could change behavior of other programs. We've done some pretty heavy modification, so it's getting time for a major release anyways. |
Hence the v4.0 milestone :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a dedicated ci check. zinit null atclone'return 69' for zdharma-continuum/null 's RC should match |
Done (see the ices zunit test) Also: I've forwarded the rc even further. You get the actual != 0 rc of the failing ice now instead of a static |
Update: |
ca1e6d4
to
9b29b55
Compare
Forgot to mention: the |
…e manpage, make will fail otherwise)
4cf20f7
to
4851cf2
Compare
Okay, docs updated and all. This is ready IMO. |
In
will always return 1. |
Thanks for the hint. Will fix that. Edit: #126 |
🎉 This PR is included in version 3.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #111
This also logs an explicit warning when a hook fails: