formula: sort installed version in to_hash
https://github.com/Homebrew/homebrew-brewdler/pull/43#discussion_r24248760 Closes Homebrew/homebrew#36611. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
357d0f2796
commit
f8791da2ec
@ -614,6 +614,8 @@ class Formula
|
|||||||
"poured_from_bottle" => tab.poured_from_bottle
|
"poured_from_bottle" => tab.poured_from_bottle
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
hsh["installed"].sort_by! { |i| Version.new(i["version"]) }
|
||||||
end
|
end
|
||||||
|
|
||||||
hsh
|
hsh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user