Update Library/Homebrew/utils/curl.rb

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Connor Mann 2021-05-14 09:55:40 -04:00 committed by GitHub
parent b406e0b35a
commit 85702dfe53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ module Utils
end
end
args = ["--location", "--remote-time", "--output", destination] + args
args = ["--location", "--remote-time", "--output", destination, *args]
# continue-at shouldn't be used with servers that don't support partial requests.
args = ["--continue-at", "-"] + args if destination.exist? && supports_partial