Improve HTTP provider registration

This commit is contained in:
Asher
2020-02-04 16:55:27 -06:00
parent 4a54e914fc
commit dbc5c065f8
4 changed files with 40 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ export class VscodeHttpProvider extends HttpProvider {
private _vscode?: Promise<cp.ChildProcess>
private workbenchOptions?: WorkbenchOptions
public constructor(private readonly args: string[], options: HttpProviderOptions) {
public constructor(options: HttpProviderOptions, private readonly args: string[]) {
super(options)
this.vsRootPath = path.resolve(this.rootPath, "lib/vscode")
this.serverRootPath = path.join(this.vsRootPath, "out/vs/server")