diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index cb38e9e7d6..517875628c 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -138,7 +138,7 @@ module Utils # Any value for `accept-ranges` other than none indicates that the server supports partial requests. # Its absence indicates no support. - supports_partial = headers.key? "accept-ranges" && headers["accept-ranges"] != "none" + supports_partial = headers.key?("accept-ranges") && headers["accept-ranges"] != "none" if supports_partial && destination.exist? &&