Skip to content

Commit

Permalink
Trim Windows list down based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers committed Nov 5, 2024
1 parent 3447575 commit 08b8940
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/client/stdio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit 08b8940

Please sign in to comment.