summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlosEDP <me@carlosedp.com>2015-07-02 10:42:46 -0300
committerCarlosEDP <me@carlosedp.com>2015-07-03 16:40:28 -0300
commit46ca2bb6b0e9c99c7a5b4efb7b9efc310c0982b8 (patch)
treef11bf9f714796f2292f4cc04674e70a4330d4614 /src
parent9a20d3b56a9a0d10d189224d785445c80fa6395f (diff)
Fix for cases with no proxy configured.
Diffstat (limited to 'src')
-rw-r--r--src/rebar_utils.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 77d5e71..70741e4 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -674,7 +674,7 @@ get_http_var() ->
end.
get_http(Scheme) ->
- proplists:get_value(Scheme, get_http_var(), "").
+ proplists:get_value(Scheme, get_http_var(), []).
set_httpc_options() ->
set_httpc_options(https_proxy, get_http(https_proxy)),