-
Notifications
You must be signed in to change notification settings - Fork 55
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
🐛 Fix OTP version null check #211
🐛 Fix OTP version null check #211
Conversation
You need to |
Also, it is possible your fix surfaced another bug (in the tests themselves)... |
…sion-type is not strict
32d8a71
to
9ae6854
Compare
I slightly adapted the "available versions included the spec" check. More precisely, I adapted when that other branch that does the semver resolution magic is executed. From reading the existing code, I think that's the desired behaviour:
Thanks for the hint to Regarding the unit tests, I don't get it why they fail when installing Gleam. I think this is coincidence, I don't see how it would be caused by the changes of this PR. |
…have prepended a 'v'
I kneaded it one more time. The inclusion check wasn't working when we need to prepend a 'v'. So I moved the check to the end of the function. |
Could you (also) cook up a test that shows how effective the fix was? We use version coercion and guessing (based on SemVer rules) and I'd prefer to not let a bug such as "wrong" coercion/guessing slip through the cracks. Thanks. |
I refactored to a single return and added a test case. |
Seems Ok. Thanks for this. I'll merge and release later. |
Merged. Thanks. |
Released in |
🆒 ! Thanks a lot. |
Fixes #210.
We need to check that the available
versions
contain the resolved version (which may be the originalspec
).