diff options
author | Tim <[email protected]> | 2020-03-31 10:23:18 +0100 |
---|---|---|
committer | Tim Hutt <[email protected]> | 2020-03-31 10:24:01 +0100 |
commit | 3eb45b99223ae6a708d82c52d656c697bc993c3b (patch) | |
tree | 4dfb02c7d39debea0486f96a0fdccb3a288b70b3 /editors/code/src/ctx.ts | |
parent | 9ef1e9efc6039c9299cbb866118ff92cb4467202 (diff) |
Pass string instread of WorkspaceFolder
Diffstat (limited to 'editors/code/src/ctx.ts')
-rw-r--r-- | editors/code/src/ctx.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index 255d57f5e..86b5f3629 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts | |||
@@ -19,9 +19,9 @@ export class Ctx { | |||
19 | config: Config, | 19 | config: Config, |
20 | extCtx: vscode.ExtensionContext, | 20 | extCtx: vscode.ExtensionContext, |
21 | serverPath: string, | 21 | serverPath: string, |
22 | workspaceFolder: vscode.WorkspaceFolder, | 22 | cwd: string, |
23 | ): Promise<Ctx> { | 23 | ): Promise<Ctx> { |
24 | const client = await createClient(config, serverPath, workspaceFolder); | 24 | const client = await createClient(config, serverPath, cwd); |
25 | const res = new Ctx(config, extCtx, client, serverPath); | 25 | const res = new Ctx(config, extCtx, client, serverPath); |
26 | res.pushCleanup(client.start()); | 26 | res.pushCleanup(client.start()); |
27 | await client.onReady(); | 27 | await client.onReady(); |