code review

Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
William Woodruff 2025-02-03 17:12:11 +01:00
parent 04bde137e9
commit 0ceddc91ce
No known key found for this signature in database

View File

@ -57,10 +57,7 @@ module Homebrew
bottle = formula.bottle_for_tag(bottle_tag)
if bottle.nil?
opoo "Bottle for tag #{bottle_tag.to_sym.inspect} is unavailable."
next
end
if bottle
bottle.clear_cache if args.force?
bottle.fetch
begin
@ -74,6 +71,10 @@ module Homebrew
#{e}
ERR
end
else
opoo "Bottle for tag #{bottle_tag.to_sym.inspect} is unavailable."
next
end
end
end
end