Merge pull request #9425 from maxim-belkin/cmd-info-bottled-other-prefix

cmd/info.rb: correctly check whether the formula is bottled
This commit is contained in:
Mike McQuaid 2020-12-08 17:11:13 +00:00 committed by GitHub
commit 949095c247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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