utils/github/artifacts: fix missing Utils::Curl reference.
Needed after https://github.com/Homebrew/brew/pull/15940
This commit is contained in:
parent
51889e7a08
commit
84973da037
@ -40,10 +40,10 @@ class GitHubArtifactDownloadStrategy < AbstractFileDownloadStrategy
|
||||
puts "Already downloaded: #{cached_location}"
|
||||
else
|
||||
begin
|
||||
curl "--location", "--create-dirs", "--output", temporary_path, url,
|
||||
"--header", "Authorization: token #{@token}",
|
||||
secrets: [@token],
|
||||
timeout: timeout
|
||||
Utils::Curl.curl "--location", "--create-dirs", "--output", temporary_path, url,
|
||||
"--header", "Authorization: token #{@token}",
|
||||
secrets: [@token],
|
||||
timeout: timeout
|
||||
rescue ErrorDuringExecution
|
||||
raise CurlDownloadStrategyError, url
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user