Commit 0e0f829e authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Resolver] Use sort_by instead of sort

parent 83b374d7
......@@ -75,7 +75,7 @@ module Pod
flatten.
map(&:payload).
uniq.
sort { |x, y| x.name <=> y.name }.
sort_by(&:name).
each do |spec|
validate_platform(spec, target)
sandbox.store_head_pod(spec.name) if spec.version.head
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment