Skip to content

Commit

Permalink
Fix proxy usage on macOS and Linux and fix using npm proxy
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rosen-vladimirov authored and Dimitar Kerezov committed Apr 5, 2017
1 parent e42e28f commit 3f8ae7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common

0 comments on commit 3f8ae7a

Please sign in to comment.