set prefer_loading_from_api for fetch
This commit is contained in:
parent
b2b029e311
commit
f5696efc16
@ -66,7 +66,7 @@ module Homebrew
|
||||
args = fetch_args.parse
|
||||
|
||||
bucket = if args.deps?
|
||||
args.named.to_formulae_and_casks.flat_map do |formula_or_cask|
|
||||
args.named.to_formulae_and_casks(prefer_loading_from_api: true).flat_map do |formula_or_cask|
|
||||
case formula_or_cask
|
||||
when Formula
|
||||
f = formula_or_cask
|
||||
@ -77,7 +77,7 @@ module Homebrew
|
||||
end
|
||||
end
|
||||
else
|
||||
args.named.to_formulae_and_casks
|
||||
args.named.to_formulae_and_casks(prefer_loading_from_api: true)
|
||||
end.uniq
|
||||
|
||||
puts "Fetching: #{bucket * ", "}" if bucket.size > 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user