Revert outdated changes to brew info

This commit is contained in:
Rylan Polster 2021-07-14 18:20:23 -04:00
parent fb04053833
commit 2524e80196
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -253,10 +253,7 @@ module Homebrew
s += " (bottled)" if bottle_exists
specs << s
elsif (stable = f.stable)
latest_version = BottleAPI.latest_pkg_version(f.name).version if ENV["HOMEBREW_JSON_CORE"].present?
latest_version ||= stable.version
s = "stable #{latest_version}"
s = "stable #{stable.version}"
s += " (bottled)" if stable.bottled? && f.pour_bottle?
specs << s
end