diff options
author | CarlosEDP <me@carlosedp.com> | 2015-07-02 10:42:46 -0300 |
---|---|---|
committer | CarlosEDP <me@carlosedp.com> | 2015-07-03 16:40:28 -0300 |
commit | 46ca2bb6b0e9c99c7a5b4efb7b9efc310c0982b8 (patch) | |
tree | f11bf9f714796f2292f4cc04674e70a4330d4614 | |
parent | 9a20d3b56a9a0d10d189224d785445c80fa6395f (diff) |
Fix for cases with no proxy configured.
-rwxr-xr-x | bootstrap | 2 | ||||
-rw-r--r-- | src/rebar_utils.erl | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -103,7 +103,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)), 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)), |