summaryrefslogtreecommitdiff
path: root/cli/lsp/testing/server.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-15 10:34:23 -0400
committerGitHub <noreply@github.com>2023-03-15 14:34:23 +0000
commit7070b8ed50f13d95d926b19ed7d7ce9fc0d6d4f3 (patch)
tree1cba1972e1b7fcea1706a893984a3be12093cf1c /cli/lsp/testing/server.rs
parent2ca160702795bb1b92196a848f7e4814d23ed32c (diff)
fix(lsp): avoid calling client while holding lock (#18197)
Diffstat (limited to 'cli/lsp/testing/server.rs')
-rw-r--r--cli/lsp/testing/server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/testing/server.rs b/cli/lsp/testing/server.rs
index 66f66ed1d..61db4316a 100644
--- a/cli/lsp/testing/server.rs
+++ b/cli/lsp/testing/server.rs
@@ -156,7 +156,7 @@ impl TestServer {
match run.exec(&client, maybe_root_uri.as_ref()).await {
Ok(_) => (),
Err(err) => {
- client.show_message(lsp::MessageType::ERROR, err).await;
+ client.show_message(lsp::MessageType::ERROR, err);
}
}
client.send_test_notification(TestingNotification::Progress(