Stop returning a path from CurlDownloadStrategy#fetch
Download strategies do not consistently return a value from `fetch`, so our code calls `cached_location` to get the path instead.
This commit is contained in:
parent
585ddb5428
commit
90f938dc86
@ -162,8 +162,6 @@ class CurlDownloadStrategy < AbstractDownloadStrategy
|
|||||||
puts "Trying a mirror..."
|
puts "Trying a mirror..."
|
||||||
@url = mirrors.shift
|
@url = mirrors.shift
|
||||||
retry
|
retry
|
||||||
else
|
|
||||||
tarball_path
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# gunzip and bunzip2 write the output file in the same directory as the input
|
# gunzip and bunzip2 write the output file in the same directory as the input
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user