mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
12 lines
625 B
TypeScript
12 lines
625 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
// Delete `VSCODE_CWD` very early. We have seen
|
|
// reports where `code .` would use the wrong
|
|
// current working directory due to our variable
|
|
// somehow escaping to the parent shell
|
|
// (https://github.com/microsoft/vscode/issues/126399)
|
|
delete process.env['VSCODE_CWD'];
|