Skip to content
Snippets Groups Projects
Commit 6ea9b32f authored by Markus Reiter's avatar Markus Reiter
Browse files

Fix version comparison in `SDK#latest_sdk`.

parent e30ed424
Branches
Tags
No related merge requests found
......@@ -33,7 +33,7 @@ module OS
def latest_sdk
return if sdk_paths.empty?
v, path = sdk_paths.max(&:first)
v, path = sdk_paths.max { |(v1, _), (v2, _)| v1 <=> v2 }
SDK.new v, path, source
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment