Skip to content

Commit

Permalink
Support proxy env variables for schema catalog download (eclipse-thei…
Browse files Browse the repository at this point in the history
…a#14130)

Co-authored-by: Mark Sujew <[email protected]>
  • Loading branch information
pchuong and msujew authored Sep 5, 2024
1 parent 638c071 commit 0a1c174
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/scripts/download-catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit 0a1c174

Please sign in to comment.