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(