From 3f8ae7a86f18e8e1d903d16a236654c22d06ae79 Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Wed, 5 Apr 2017 01:29:50 +0300 Subject: [PATCH] Fix proxy usage on macOS and Linux and fix using npm proxy Fix using proxy on macOS and Linux - the getCredentials method should not fail - it should return null on OSes that are not supported. Fix using npm proxy - CLI automatically detects the proxy and uses it for calls to npm registry. However we have not set the rejectUnauthorized variable and all requests to our internal npm proxy were failing. So in such cases set the rejectUnauthorized to the value of strict-ssl npm config variable. --- lib/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common b/lib/common index 4fbc7d04b..4f852d149 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 4fbc7d04b322da7d56bcdaf261786ad745ede1ed +Subproject commit 4f852d149949b4106972e6b8a3b1fd07773cd7a7