Adjust the `checkIfOnline` check if in a corporate proxy environment (#2884)
* Adjust the `checkIfOnline` check if in a corporate proxy environment If the environment variable `https_proxy` is set, test that the proxy name is resolveable rather than 'registry.yarnpkg.com'. This fixes #2832. * Adjust to check yarnpkg.com first, then check the proxy address only if that failed
Showing
+10 -1
Please register or sign in to comment