mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
This reverts commit 0233e80d64
.
Mitigates #142857
This commit is contained in:
parent
e491208ae0
commit
e8cfc68ce4
|
@ -208,11 +208,6 @@ export class LocalProcessExtensionHost implements IExtensionHost {
|
|||
|
||||
this._extensionHostProcess = new ExtensionHostProcess(extensionHostCreationResult.id, this._extensionHostStarter);
|
||||
|
||||
let lang = processEnv['LANG'];
|
||||
if (platform.isMacintosh && lang === undefined) {
|
||||
lang = Intl.DateTimeFormat().resolvedOptions().locale;
|
||||
}
|
||||
|
||||
const env = objects.mixin(processEnv, {
|
||||
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
|
||||
VSCODE_PIPE_LOGGING: 'true',
|
||||
|
@ -220,8 +215,7 @@ export class LocalProcessExtensionHost implements IExtensionHost {
|
|||
VSCODE_LOG_NATIVE: this._isExtensionDevHost,
|
||||
VSCODE_IPC_HOOK_EXTHOST: pipeName,
|
||||
VSCODE_HANDLES_UNCAUGHT_ERRORS: true,
|
||||
VSCODE_LOG_STACK: !this._isExtensionDevTestFromCli && (this._isExtensionDevHost || !this._environmentService.isBuilt || this._productService.quality !== 'stable' || this._environmentService.verbose),
|
||||
'LANG': lang
|
||||
VSCODE_LOG_STACK: !this._isExtensionDevTestFromCli && (this._isExtensionDevHost || !this._environmentService.isBuilt || this._productService.quality !== 'stable' || this._environmentService.verbose)
|
||||
});
|
||||
|
||||
if (this._environmentService.debugExtensionHost.env) {
|
||||
|
|
Loading…
Reference in a new issue