Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly differintiate http and https proxies
options.secureEndpoint is not always defined. There is however, a function to properly identify the type of connection in the base class, so intead of rolling the own check, relly on the base class implementation. Fixes #87 and npm/cli#7024 Contributed by STMicroelectronics Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
- Loading branch information