aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCamden Narzt2017-08-21 10:51:19 -0600
committerCamden Narzt2017-08-21 19:22:16 -0600
commitc53af2952e2ea60b47951ed4b74295be37cfc79d (patch)
tree4766c5b2ab69894ddeff0447956014b6166dd0af /Library
parent85fd43d4fe595f73b9168360b4c15a43e1a9debf (diff)
downloadbrew-c53af2952e2ea60b47951ed4b74295be37cfc79d.tar.bz2
Fix curl --user flag being broken in dc5a2c17
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 2a8b6e585..adeb0a02a 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -381,7 +381,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
# Curl options to be always passed to curl,
# with raw head calls (`curl --head`) or with actual `fetch`.
def _curl_opts
- return ["--user" << meta.fetch(:user)] if meta.key?(:user)
+ return ["--user", meta.fetch(:user)] if meta.key?(:user)
[]
end