Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Switch from removing all directories in the container dir to removing the non-version dir

Mikayla Makidcaa355ad288
diff --git a/crates/zed/src/languages/json.rs b/crates/zed/src/languages/json.rs
index 7919f7510d4..6bb3d94c5ab 100644
--- a/crates/zed/src/languages/json.rs
+++ b/crates/zed/src/languages/json.rs
@@ -84,7 +84,7 @@ impl LspAdapter for JsonLspAdapter {
)
.await?;
- remove_matching(&container_dir, |entry| entry != server_path).await;
+ remove_matching(&container_dir, |entry| entry != version_dir).await;
}
Ok(LanguageServerBinary {