Browse Source

1394: fixed typo

pull/1395/head
Artem Pervin 8 years ago
parent
commit
8df95d53bf
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      test/rebar_utils_SUITE.erl

+ 4
- 4
test/rebar_utils_SUITE.erl View File

@ -303,9 +303,9 @@ proxy_auth(_Config, ProxyEnvKey) ->
rebar_utils:get_proxy_auth()),
%% restore original proxy specification if any
restore_proxy_env(OldProxySpec).
restore_proxy_env(ProxyEnvKey, OldProxySpec).
restore_proxy_env(false) ->
restore_proxy_env(_, false) ->
ok;
restore_proxy_env(ProxySpec) ->
os:putenv("http_proxy", ProxySpec).
restore_proxy_env(ProxyEnvKey, ProxySpec) ->
os:putenv(ProxyEnvKey, ProxySpec).

Loading…
Cancel
Save