Icenium / icenium-cli

Cross Platform Command Line Interface for Progress Telerik AppBuilder
Apache License 2.0
33 stars 9 forks source link

Fix proxy usage on macOS and Linux and fix using npm proxy #1660

Closed rosen-vladimirov closed 7 years ago

rosen-vladimirov commented 7 years ago

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.

Fixes http://teampulse.telerik.com/view#item/330683 Fixes http://teampulse.telerik.com/view#item/330775

ndinev commented 7 years ago

👍