Fix curl --user flag being broken in dc5a2c17
This commit is contained in:
parent
85fd43d4fe
commit
c53af2952e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user