From 0a1c1742c23de6cd07217cfd0138c4f734d21b80 Mon Sep 17 00:00:00 2001 From: pchuong <1699061+pchuong@users.noreply.github.com> Date: Thu, 5 Sep 2024 05:45:21 -0400 Subject: [PATCH] Support proxy env variables for schema catalog download (#14130) Co-authored-by: Mark Sujew --- packages/core/scripts/download-catalog.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/core/scripts/download-catalog.js b/packages/core/scripts/download-catalog.js index 11c9fb1be7a1a..50fc84a8d6f2d 100644 --- a/packages/core/scripts/download-catalog.js +++ b/packages/core/scripts/download-catalog.js @@ -21,6 +21,11 @@ new Downloader({ directory: './lib/browser', fileName: 'catalog.json', timeout: 60000, + proxy: process.env.http_proxy + || process.env.HTTP_PROXY + || process.env.https_proxy + || process.env.HTTPS_PROXY + || '', cloneFiles: false }).download();