Skip to content

Commit

Permalink
utils/github/artifacts: fix missing Utils::Curl reference.
Browse files Browse the repository at this point in the history
Needed after Homebrew#15940
  • Loading branch information
MikeMcQuaid authored and dduugg committed Sep 30, 2023
1 parent 10f3e94 commit 44b6507
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Library/Homebrew/utils/github/artifacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def fetch(timeout: nil)
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
Expand Down

0 comments on commit 44b6507

Please sign in to comment.