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

@ -53,7 +53,7 @@ export async function activate(context: vscode.ExtensionContext) {
// registers its `onDidChangeDocument` handler before us.
//
// This a horribly, horribly wrong way to deal with this problem.
ctx = await Ctx.create(config, context, serverPath, workspaceFolder);
ctx = await Ctx.create(config, context, serverPath, workspaceFolder.uri.fsPath);
// Commands which invokes manually via command palette, shortcut, etc.