-
Notifications
You must be signed in to change notification settings - Fork 17
Recent change broke < v5.4 #35
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
Conversation
bin/install
Outdated
version=$1 | ||
IFS='.' read -ra version_array <<<"$version" | ||
major_minor_version="${version_array[0]}0${version_array[1]}" | ||
if (("$major_minor_version" <= 504)); then |
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 condition says less than or equal to 5.4.x, but the function name is less_than_version_5_4x
. If the function name is correct this needs to become:
if (("$major_minor_version" < 504)); then
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.
Thanks for the PR! I think there is one issue with the less_than_version_5_4x
but otherwise this looks good to me.
Nice catch. Fixed that now 🙏 |
Thanks @nulty ! |
Ooof. I don't know what's failing on macos there 😨 |
Yeah, I don't know either. But I don't think it is due to your changes here. |
https://github.com/nulty/asdf-lua/actions