Closed timschumi closed 4 years ago
The check right now does lexicographical (?) comparison, which results in 2.2.10 being treated as an earlier version than 2.2.6.
2.2.10
2.2.6
Fix that by using the built-in Vagrant.version?() function for the version check.
Vagrant.version?()
I solemnly swear that I won't rely on 7 year old GitHub Gists for ideas anymore.
Relevant issue #169
The check right now does lexicographical (?) comparison, which results in
2.2.10
being treated as an earlier version than2.2.6
.Fix that by using the built-in
Vagrant.version?()
function for the version check.