aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/versions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/versions.rb')
-rw-r--r--Library/Homebrew/cmd/versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb
index f76c7b8bb..d646f8aef 100644
--- a/Library/Homebrew/cmd/versions.rb
+++ b/Library/Homebrew/cmd/versions.rb
@@ -45,7 +45,7 @@ class Formula
map = Hash.new { |h, k| h[k] = [] }
rev_list(branch) do |rev|
formula_for_sha(rev) do |f|
- bottle = f.class.send(:bottle)
+ bottle = f.class.bottle
unless bottle.checksums.empty?
map[bottle.version] << bottle.revision
end