Merge pull request #2340 from zed-industries/fix-json-lsp-remove

Fix bug where JSON LSP would be deleted on installation.
This commit is contained in:
Mikayla Maki 2023-03-31 12:41:28 -07:00 committed by GitHub
commit 297fd5f985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {