Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Avoid symlink conflicts when re-extracting `eslint-xx.tar.gz` (#36068)
0x5457176c445817c4
diff --git a/crates/languages/src/typescript.rs b/crates/languages/src/typescript.rsindex d477acc7f64..7937adbc099 100644--- a/crates/languages/src/typescript.rs+++ b/crates/languages/src/typescript.rs@@ -910,7 +910,7 @@ impl LspAdapter for EsLintLspAdapter {let server_path = destination_path.join(Self::SERVER_PATH);if fs::metadata(&server_path).await.is_err() {- remove_matching(&container_dir, |entry| entry != destination_path).await;+ remove_matching(&container_dir, |_| true).await;download_server_binary(delegate,