From 08b89404a38977f7e3878f1bee9498831addc884 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Tue, 5 Nov 2024 12:10:24 +0000 Subject: [PATCH] Trim Windows list down based on review --- src/client/stdio.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/client/stdio.ts b/src/client/stdio.ts index 9f1301d..93b2550 100644 --- a/src/client/stdio.ts +++ b/src/client/stdio.ts @@ -29,23 +29,17 @@ export type StdioServerParameters = { export const DEFAULT_INHERITED_ENV_VARS = process.platform === "win32" ? [ - "ALLUSERSPROFILE", "APPDATA", "HOMEDRIVE", "HOMEPATH", "LOCALAPPDATA", - "NUMBER_OF_PROCESSORS", - "OS", "PATH", - "PATHEXT", "PROCESSOR_ARCHITECTURE", "SYSTEMDRIVE", "SYSTEMROOT", "TEMP", - "TMP", "USERNAME", "USERPROFILE", - "WINDIR", ] : /* list inspired by the default env inheritance of sudo */ ["HOME", "LOGNAME", "PATH", "SHELL", "TERM", "USER"];