Skip to content

Commit 2ebd9ce

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/multi-770cfcd984
2 parents 54a8ba4 + ceeaeb5 commit 2ebd9ce

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/archetype/ArchetypeModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async function executeInTerminalHandler(metadata: IProjectCreationMetadata): Pro
176176
const mvnSettingsFile: string | undefined = Settings.getSettingsFilePath();
177177
const mvnSettingsArg: string | undefined = mvnSettingsFile ? `-s "${await mavenTerminal.formattedPathForTerminal(mvnSettingsFile)}"` : undefined;
178178
let commandLine: string = [mvnString, ...cmdArgs, defaultArgs, mvnSettingsArg].filter(Boolean).join(" ");
179-
const options: vscode.ShellExecutionOptions = { cwd };
179+
const options: vscode.ShellExecutionOptions = { cwd, env: Settings.getEnvironment(metadata.targetFolder) };
180180
if (vscode.env.remoteName === undefined && process.platform === "win32") { // VS Code launched in Windows Desktop.
181181
options.shellQuoting = shellQuotes.cmd;
182182
options.executable = "cmd.exe";

0 commit comments

Comments
 (0)