mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
Simplify uri transformer creation
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
import * as cp from 'child_process';
|
||||
import * as net from 'net';
|
||||
import { getNLSConfiguration } from 'vs/server/node/remoteLanguagePacks';
|
||||
import { uriTransformerPath } from 'vs/server/node/remoteUriTransformer';
|
||||
import { FileAccess } from 'vs/base/common/network';
|
||||
import { join, delimiter } from 'vs/base/common/path';
|
||||
import { VSBuffer } from 'vs/base/common/buffer';
|
||||
@@ -200,7 +199,7 @@ export class ExtensionHostConnection {
|
||||
};
|
||||
|
||||
// Run Extension Host as fork of current process
|
||||
const args = ['--type=extensionHost', `--uriTransformerPath=${uriTransformerPath}`];
|
||||
const args = ['--type=extensionHost', `--transformURIs`];
|
||||
const useHostProxy = this._environmentService.args['use-host-proxy'];
|
||||
if (useHostProxy) {
|
||||
args.push(`--useHostProxy`);
|
||||
|
||||
Reference in New Issue
Block a user