Skip to content

Commit

Permalink
Fixing metals not being able to start on Windows (#117)
Browse files Browse the repository at this point in the history
Fixing metals not being able to start on Windows
  • Loading branch information
gabro authored Jun 15, 2019
2 parents c766a44 + 028fa4d commit 7ee6cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7ee6cc3

Please sign in to comment.