mirror of
https://github.com/wecode-ai/RunVSAgent.git
synced 2026-07-10 01:30:06 +00:00
11 lines
624 B
TypeScript
11 lines
624 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"]
|