Improve testing around terminal env vars

This commit is contained in:
Daniel Imms
2019-09-12 18:00:54 -07:00
parent e2e98f5628
commit d68d86d2db
3 changed files with 122 additions and 42 deletions

View File

@@ -182,7 +182,7 @@ export class ExtHostTerminalService extends BaseExtHostTerminalService {
this._variableResolver,
isWorkspaceShellAllowed,
pkg.version,
terminalConfig.get<string>('detectLocale', 'auto'),
terminalConfig.get<'auto' | 'off' | 'on'>('detectLocale', 'auto'),
baseEnv
);