Skip to content

Commit cfd9faf

Browse files
committed
Include passed environment in extension host spawn
It's possible for the options to include environment variables which we were not including.
1 parent 607cd9c commit cfd9faf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/vscode/src/vs/server/connection.ts

+1
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ export class ExtensionHostConnection extends Connection {
181181
{
182182
env: {
183183
...process.env,
184+
...(this.params.env || {}),
184185
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/services/extensions/node/extensionHostProcess',
185186
VSCODE_PIPE_LOGGING: 'true',
186187
VSCODE_VERBOSE_LOGGING: 'true',

0 commit comments

Comments
 (0)