mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Remove unnecessary async from vscode language client creation
This commit is contained in:
parent
fc57358efd
commit
5f88df82a6
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue