From dcaa355ad28866736927ce141e1f1fa15e4976f6 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Fri, 31 Mar 2023 12:36:23 -0700 Subject: [PATCH] Switch from removing all directories in the container dir to removing the non-version dir --- crates/zed/src/languages/json.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zed/src/languages/json.rs b/crates/zed/src/languages/json.rs index 7919f7510d..6bb3d94c5a 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 {