Latest update breaks due to proxy requirement. Fixes #142201

This commit is contained in:
Martin Aeschlimann
2022-02-07 21:04:19 +01:00
parent 284422f91d
commit 6fc45ef5c7
2 changed files with 7 additions and 7 deletions

View File

@@ -201,9 +201,7 @@ export class ExtensionHostConnection {
// Run Extension Host as fork of current process
const args = ['--type=extensionHost', `--transformURIs`];
const useHostProxy = this._environmentService.args['use-host-proxy'];
if (useHostProxy) {
args.push(`--useHostProxy`);
}
args.push(`--useHostProxy=${useHostProxy ? 'true' : 'false'}`);
this._extensionHostProcess = cp.fork(FileAccess.asFileUri('bootstrap-fork', require).fsPath, args, opts);
const pid = this._extensionHostProcess.pid;
this._log(`<${pid}> Launched Extension Host Process.`);