Fix wrong method in --cache and fetch.

This commit is contained in:
Markus Reiter 2023-05-22 22:08:31 +02:00
parent a29b22f1a2
commit 4cffb51b80
No known key found for this signature in database
GPG Key ID: 245293B51702655B
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ module Homebrew
end
else
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|
next if os == :linux

View File

@ -159,7 +159,7 @@ module Homebrew
end
else
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|
next if os == :linux