提交 34419f85 编写于 作者: D Daniel Imms

Clone process.env to ensure source of truth is not changed

Part of #128745
上级 75e22193
......@@ -312,7 +312,7 @@ export class LinuxExternalTerminalService extends ExternalTerminalService implem
}
function getSanitizedEnvironment(process: NodeJS.Process) {
const env = process.env;
const env = { ...process.env };
// Refs https://github.com/microsoft/vscode/issues/128745#issuecomment-885981676
sanitizeProcessEnvironment(env, 'VSCODE_BROWSER_CODE_LOADING');
return env;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册