@infoxchange/make-it-so 2.13.0-internal-testing-add-import-time-setup-proxy-globally.1 → 2.13.0-internal-testing-add-import-time-setup-proxy-globally.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ export function setupProxyGlobally() {
4
4
  // Make operation idempotent
5
5
  if (getGlobalDispatcher() instanceof EnvHttpProxyAgent)
6
6
  return;
7
- if (!process.env.HTTP_PROXY || !process.env.HTTPS_PROXY)
7
+ if (!process.env.HTTP_PROXY && !process.env.HTTPS_PROXY)
8
8
  return;
9
9
  // To cover libraries that use fetch
10
10
  // See https://nodejs.org/api/globals.html#custom-dispatcher
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infoxchange/make-it-so",
3
- "version": "2.13.0-internal-testing-add-import-time-setup-proxy-globally.1",
3
+ "version": "2.13.0-internal-testing-add-import-time-setup-proxy-globally.2",
4
4
  "description": "Makes deploying services to IX infra easy",
5
5
  "repository": "github:infoxchange/make-it-so",
6
6
  "type": "module",
@@ -10,7 +10,7 @@ export function setupProxyGlobally() {
10
10
  // Make operation idempotent
11
11
  if (getGlobalDispatcher() instanceof EnvHttpProxyAgent) return;
12
12
 
13
- if (!process.env.HTTP_PROXY || !process.env.HTTPS_PROXY) return;
13
+ if (!process.env.HTTP_PROXY && !process.env.HTTPS_PROXY) return;
14
14
 
15
15
  // To cover libraries that use fetch
16
16
  // See https://nodejs.org/api/globals.html#custom-dispatcher