Skip to content

Commit

Permalink
env variables are not passed to extension host in debug mode (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Mar 8, 2017
1 parent 963783b commit f824b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/code/electron-main/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ export class WindowsManager implements IWindowsMainService {
}

// Open it
this.open({ context: openConfig.context, cli: openConfig.cli, forceNewWindow: true, forceEmpty: openConfig.cli._.length === 0 });
this.open({ context: openConfig.context, cli: openConfig.cli, forceNewWindow: true, forceEmpty: openConfig.cli._.length === 0, userEnv: openConfig.userEnv });
}

private toConfiguration(config: IOpenConfiguration, workspacePath?: string, filesToOpen?: IPath[], filesToCreate?: IPath[], filesToDiff?: IPath[]): IWindowConfiguration {
Expand Down

0 comments on commit f824b2e

Please sign in to comment.