Skip to content

Commit 8f062c3

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 39d95b5 commit 8f062c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ export class ExtensionHostConnection extends Connection {
174174
{
175175
env: {
176176
...process.env,
177+
...(this.params.env || {}),
177178
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/services/extensions/node/extensionHostProcess',
178179
VSCODE_PIPE_LOGGING: 'true',
179180
VSCODE_VERBOSE_LOGGING: 'true',

0 commit comments

Comments
 (0)