Skip to content

Commit

Permalink
Update Library/Homebrew/utils/curl.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Mike McQuaid <[email protected]>
  • Loading branch information
clint-stripe and MikeMcQuaid authored Aug 14, 2023
1 parent bc079be commit b06b619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/utils/curl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def curl_args(

# do not load .curlrc unless requested (must be the first argument)
curlrc = Homebrew::EnvConfig.curlrc
if curlrc&.start_with?("/") && File.exist?(curlrc)
if curlrc&.start_with?("/")
# If the file exists, we still want to disable loading the default curlrc.
args << "--disable" << "--config" << curlrc
elsif curlrc
Expand Down

0 comments on commit b06b619

Please sign in to comment.