Skip to content

Commit 3c7170e

Browse files
authored
${env:PATH} not detected on terminal (microsoft#144573)
Fixes microsoft#144339
1 parent b5205cc commit 3c7170e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/configurationResolver/common/variableResolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class AbstractVariableResolverService implements IConfigurationResolverSe
6767
}
6868

6969
public resolveWithEnvironment(environment: IProcessEnvironment, root: IWorkspaceFolder | undefined, value: string): string {
70-
return this.recursiveResolve(this.prepareEnv(environment), root ? root.uri : undefined, value);
70+
return this.recursiveResolve({ env: this.prepareEnv(environment) }, root ? root.uri : undefined, value);
7171
}
7272

7373
public async resolveAsync(root: IWorkspaceFolder | undefined, value: string): Promise<string>;

0 commit comments

Comments
 (0)