From a079ba9bb389de0d4a849042f45dad6d9ccd31d9 Mon Sep 17 00:00:00 2001 From: Connor Mann Date: Fri, 14 May 2021 15:28:56 -0400 Subject: [PATCH] Add parentheses for clarity --- Library/Homebrew/utils/curl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? &&