Merge pull request #15475 from reitermarkus/fetch-wrong-method
Fix wrong method in `--cache` and `fetch`.
This commit is contained in:
commit
8aaf99e1d7
@ -71,7 +71,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
cask = formula_or_cask
|
cask = formula_or_cask
|
||||||
ref = cask.loaded_from_api? ? cask.full_token : cask.sourcefile_path
|
ref = cask.loaded_from_api? ? cask.full_name : cask.sourcefile_path
|
||||||
|
|
||||||
os_arch_combinations.each do |os, arch|
|
os_arch_combinations.each do |os, arch|
|
||||||
next if os == :linux
|
next if os == :linux
|
||||||
|
|||||||
@ -159,7 +159,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
cask = formula_or_cask
|
cask = formula_or_cask
|
||||||
ref = cask.loaded_from_api? ? cask.full_token : cask.sourcefile_path
|
ref = cask.loaded_from_api? ? cask.full_name : cask.sourcefile_path
|
||||||
|
|
||||||
os_arch_combinations.each do |os, arch|
|
os_arch_combinations.each do |os, arch|
|
||||||
next if os == :linux
|
next if os == :linux
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user