Skip to content

Commit 79a0966

Browse files
committed
fix: miss env in msys task
1 parent be6dff4 commit 79a0966

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ class EideTaskProvider implements vscode.TaskProvider {
11991199
executable: platform.osType() == 'win32' ? `${process.env['EIDE_MSYS']}/bash.exe` : '/bin/bash',
12001200
shellArgs: ['-c'],
12011201
cwd: definition?.options?.cwd || workspaceManager.getCurrentFolder()?.path,
1202-
env: utility.mergeEnv(process.env, {})
1202+
env: utility.mergeEnv(process.env, definition.env || {})
12031203
});
12041204

12051205
task.group = definition.group;

0 commit comments

Comments
 (0)