Skip to content

Commit 3453800

Browse files
Expand variables in options.env section of tasks.json (#10208)
Fixes #10207 Contributed by STMicroelectronics Signed-off-by: Emil HAMMARSTEDT <[email protected]>
1 parent 134dcf2 commit 3453800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/task/src/browser/process/process-task-resolver.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class ProcessTaskResolver implements TaskResolver {
8080
} : undefined,
8181
options: {
8282
cwd: await this.variableResolverService.resolve(cwd, variableResolverOptions),
83-
env: processTaskConfig.options && processTaskConfig.options.env,
83+
env: processTaskConfig.options?.env && await this.variableResolverService.resolve(processTaskConfig.options.env, variableResolverOptions),
8484
shell: processTaskConfig.options && processTaskConfig.options.shell
8585
}
8686
};

0 commit comments

Comments
 (0)