Add appDirname variable

Part of #115053
This commit is contained in:
Daniel Imms
2021-02-03 07:50:58 -08:00
parent c5bf12802f
commit 9dbc765a38
9 changed files with 45 additions and 20 deletions

View File

@@ -945,6 +945,9 @@ export class ExtHostVariableResolverService extends AbstractVariableResolverServ
getConfigurationValue: (folderUri: URI | undefined, section: string): string | undefined => {
return configurationService.getConfiguration(undefined, folderUri).get<string>(section);
},
getAppRoot: (): string | undefined => {
return env ? env['VSCODE_CWD'] : undefined;
},
getExecPath: (): string | undefined => {
return env ? env['VSCODE_EXEC_PATH'] : undefined;
},