Merge pull request #10110 from fxcoudert/unbottled

unbottled: improve output
This commit is contained in:
FX Coudert 2020-12-24 13:54:15 +01:00 committed by GitHub
commit e69a54d0d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,14 @@ module Homebrew
deps = Array(deps_hash[f.name]).reject do |dep|
dep.bottle_specification.tag?(@bottle_tag) || dep.bottle_unneeded?
end
next if deps.blank?
if deps.blank?
next if f.bottle_unneeded?
count = " (#{hash[f.name]} #{noun})" if noun
puts "#{f.name}#{count}: ready to bottle"
next
end
any_found ||= true
count = " (#{hash[f.name]} #{noun})" if noun