Remove unnecessary async from vscode language client creation
This commit is contained in:
@@ -21,7 +21,7 @@ export class Ctx {
|
||||
serverPath: string,
|
||||
cwd: string,
|
||||
): Promise<Ctx> {
|
||||
const client = await createClient(serverPath, cwd);
|
||||
const client = createClient(serverPath, cwd);
|
||||
const res = new Ctx(config, extCtx, client, serverPath);
|
||||
res.pushCleanup(client.start());
|
||||
await client.onReady();
|
||||
|
||||
Reference in New Issue
Block a user