From 7b6efb92c092aa00affa8fe63b6226476864c6e3 Mon Sep 17 00:00:00 2001 From: Ignacio BurgueƱo Date: Fri, 17 Apr 2015 16:17:34 -0300 Subject: Trust the user :) --- src/luarocks/cfg.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index f6993ba5..49ce5188 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua @@ -599,11 +599,6 @@ cfg.http_proxy = os.getenv("http_proxy") cfg.https_proxy = os.getenv("https_proxy") cfg.no_proxy = os.getenv("no_proxy") --- make sure that no_proxy is not 'alone' -if cfg.no_proxy and not (cfg.https_proxy or cfg.http_proxy) then - cfg.no_proxy = nil -end - --- Check if platform was detected -- @param query string: The platform name to check. -- @return boolean: true if LuaRocks is currently running on queried platform. -- cgit v1.2.3-55-g6feb