info.rb: correctly check if the formula is bottled

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Maxim Belkin 2020-12-04 17:29:31 -06:00
parent 7e3e86eb41
commit 44cdb0f66c
No known key found for this signature in database
GPG Key ID: AC71560D4C5F2338

View File

@ -239,7 +239,7 @@ module Homebrew
if stable = f.stable
s = "stable #{stable.version}"
s += " (bottled)" if stable.bottled?
s += " (bottled)" if stable.bottled? && f.pour_bottle?
specs << s
end