aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 7ba5d5044..c3d319d8f 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -974,7 +974,7 @@ class Formula
end
if older_or_same_tap_versions.all? { |v| pkg_version > v }
- all_versions
+ all_versions.sort!
else
[]
end