bootstrap-cli.ts 624 B

1234567891011
  1. /*---------------------------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Licensed under the MIT License. See License.txt in the project root for license information.
  4. *--------------------------------------------------------------------------------------------*/
  5. // Delete `VSCODE_CWD` very early. We have seen
  6. // reports where `code .` would use the wrong
  7. // current working directory due to our variable
  8. // somehow escaping to the parent shell
  9. // (https://github.com/microsoft/vscode/issues/126399)
  10. delete process.env["VSCODE_CWD"]