Use new cache directory for `load` method. (#23265)
This commit is contained in:
parent
7011870769
commit
d02053c0a4
|
@ -10,8 +10,8 @@ class Hbc::Source::URI
|
|||
end
|
||||
|
||||
def load
|
||||
HOMEBREW_CACHE_CASKS.mkpath
|
||||
path = HOMEBREW_CACHE_CASKS.join(File.basename(uri))
|
||||
Hbc.cache.mkpath
|
||||
path = Hbc.cache.join(File.basename(uri))
|
||||
ohai "Downloading #{uri}"
|
||||
odebug "Download target -> #{path}"
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue