code review
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
04bde137e9
commit
0ceddc91ce
@ -57,10 +57,7 @@ module Homebrew
|
|||||||
|
|
||||||
bottle = formula.bottle_for_tag(bottle_tag)
|
bottle = formula.bottle_for_tag(bottle_tag)
|
||||||
|
|
||||||
if bottle.nil?
|
if bottle
|
||||||
opoo "Bottle for tag #{bottle_tag.to_sym.inspect} is unavailable."
|
|
||||||
next
|
|
||||||
end
|
|
||||||
bottle.clear_cache if args.force?
|
bottle.clear_cache if args.force?
|
||||||
bottle.fetch
|
bottle.fetch
|
||||||
begin
|
begin
|
||||||
@ -74,6 +71,10 @@ module Homebrew
|
|||||||
#{e}
|
#{e}
|
||||||
ERR
|
ERR
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
opoo "Bottle for tag #{bottle_tag.to_sym.inspect} is unavailable."
|
||||||
|
next
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user