From 46ca2bb6b0e9c99c7a5b4efb7b9efc310c0982b8 Mon Sep 17 00:00:00 2001 From: CarlosEDP Date: Thu, 2 Jul 2015 10:42:46 -0300 Subject: Fix for cases with no proxy configured. --- src/rebar_utils.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)), -- cgit v1.1