Merge pull request #15475 from reitermarkus/fetch-wrong-method

Fix wrong method in `--cache` and `fetch`.
This commit is contained in:
Markus Reiter 2023-05-23 01:30:32 +02:00 committed by GitHub
commit 8aaf99e1d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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