Skip to content

Commit

Permalink
Include passed environment in extension host spawn
Browse files Browse the repository at this point in the history
It's possible for the options to include environment variables which we
were not including.
  • Loading branch information
code-asher committed Aug 25, 2021
1 parent 607cd9c commit cfd9faf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vscode/src/vs/server/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export class ExtensionHostConnection extends Connection {
{
env: {
...process.env,
...(this.params.env || {}),
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/services/extensions/node/extensionHostProcess',
VSCODE_PIPE_LOGGING: 'true',
VSCODE_VERBOSE_LOGGING: 'true',
Expand Down

0 comments on commit cfd9faf

Please sign in to comment.