mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Cleanup conditional
Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
parent
83073c3ee6
commit
6bd507d472
@ -890,8 +890,7 @@ module Homebrew
|
|||||||
# Formulae installed with HOMEBREW_INSTALL_FROM_API should not count as deleted formulae
|
# Formulae installed with HOMEBREW_INSTALL_FROM_API should not count as deleted formulae
|
||||||
# but may not have a tap listed in their tab
|
# but may not have a tap listed in their tab
|
||||||
tap = Tab.for_keg(keg).tap
|
tap = Tab.for_keg(keg).tap
|
||||||
next if tap.present? && tap.core_tap?
|
next if (tap.blank? || tap.core_tap?) && Homebrew::API::Bottle.available?(keg.name)
|
||||||
next if tap.blank? && Homebrew::API::Bottle.available?(keg.name)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
keg.name
|
keg.name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user