From 028fa4df501ea13f2c3f89c6b2effa20ced89c25 Mon Sep 17 00:00:00 2001 From: Igal Tabachnik Date: Sun, 16 Jun 2019 00:59:48 +0300 Subject: [PATCH] Passing the rest of parent process.env to the spawned process --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index ef6b5e9e5..5f319d33d 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -139,7 +139,7 @@ function fetchAndLaunchMetals(context: ExtensionContext, javaHome: string) { "sonatype:snapshots", "-p" ]), - { env: { COURSIER_NO_TERM: "true", ...customRepositoriesEnv } } + { env: { COURSIER_NO_TERM: "true", ...customRepositoriesEnv, ...process.env } } ); const title = `Downloading Metals v${serverVersion}`; trackDownloadProgress(title, outputChannel, fetchProcess).then(