From 63c0706190c1402d6a1c8204fe1540adf9911345 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 18 Apr 2018 11:17:57 +0100 Subject: [PATCH] formula: sort aliases in to_hash. Otherwise the ordering varies based on the filesystem. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index f340503f4b..72bf39c565 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1523,7 +1523,7 @@ class Formula "desc" => desc, "homepage" => homepage, "oldname" => oldname, - "aliases" => aliases, + "aliases" => aliases.sort, "versions" => { "stable" => stable&.version&.to_s, "bottle" => !bottle_specification.checksums.empty?,