Add parentheses for clarity

This commit is contained in:
Connor Mann 2021-05-14 15:28:56 -04:00
parent 2a9540b3ab
commit a079ba9bb3

View File

@ -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? &&