unbottled: improve output

This commit is contained in:
Francois-Xavier Coudert 2020-12-23 10:57:10 +01:00
parent 7d46fb8f79
commit 93cfc27660

View File

@ -156,7 +156,14 @@ module Homebrew
deps = Array(deps_hash[f.name]).reject do |dep| deps = Array(deps_hash[f.name]).reject do |dep|
dep.bottle_specification.tag?(@bottle_tag) || dep.bottle_unneeded? dep.bottle_specification.tag?(@bottle_tag) || dep.bottle_unneeded?
end 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 any_found ||= true
count = " (#{hash[f.name]} #{noun})" if noun count = " (#{hash[f.name]} #{noun})" if noun