Warning about '' being invalid integer in test
zimme opened this issue · 2 comments
zimme commented
In __fundle_compare_versions
there's a chance that $v1
or $v2
is empty which creates warnings with the -lt
/-gt
comparisons as an empty value isn't a valid integer.
I see that you check for the case when one is present and the other one isn't. However I don't know how to change the code so that it only does the -lt
/-gt
checks when both values are present.
zimme commented
I'm seeing this when running fundle self-update
.
danhper commented
Thanks for reporting, this should now be fixed.