os/mac/sdk: fix Rubocop warnings.
This commit is contained in:
parent
ecda1c9c54
commit
f421374af1
@ -24,7 +24,7 @@ module OS
|
|||||||
def latest_sdk
|
def latest_sdk
|
||||||
return if sdk_paths.empty?
|
return if sdk_paths.empty?
|
||||||
|
|
||||||
v, path = sdk_paths.max {|a, b| OS::Mac::Version.new(a[0]) <=> OS::Mac::Version.new(b[0])}
|
v, path = sdk_paths.max { |a, b| OS::Mac::Version.new(a[0]) <=> OS::Mac::Version.new(b[0]) }
|
||||||
SDK.new v, path
|
SDK.new v, path
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user