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:45 -04:00 committed by GitHub
parent 85702dfe53
commit b79aeab8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ module Utils
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
args = ["--continue-at", "-", *args] if destination.exist? && supports_partial
curl(*args, **options)
end