Pass string instread of WorkspaceFolder

This commit is contained in:
Tim 2020-03-31 10:23:18 +01:00 committed by Tim Hutt
parent 9ef1e9efc6
commit 3eb45b9922
3 changed files with 5 additions and 5 deletions

View file

@ -19,9 +19,9 @@ export class Ctx {
config: Config,
extCtx: vscode.ExtensionContext,
serverPath: string,
workspaceFolder: vscode.WorkspaceFolder,
cwd: string,
): Promise<Ctx> {
const client = await createClient(config, serverPath, workspaceFolder);
const client = await createClient(config, serverPath, cwd);
const res = new Ctx(config, extCtx, client, serverPath);
res.pushCleanup(client.start());
await client.onReady();