mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Don't delete JSON language server directly after downloading it
This was accidentally added during the messy NodeRuntime/Copilot rebase Co-Authored-By: Joseph Lyons <joseph@zed.dev> Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
54582fd77f
commit
0199ffed5f
1 changed files with 1 additions and 3 deletions
|
@ -16,7 +16,7 @@ use std::{
|
|||
sync::Arc,
|
||||
};
|
||||
use theme::ThemeRegistry;
|
||||
use util::{fs::remove_matching, http::HttpClient};
|
||||
use util::http::HttpClient;
|
||||
use util::{paths, ResultExt, StaffMode};
|
||||
|
||||
const SERVER_PATH: &'static str =
|
||||
|
@ -83,8 +83,6 @@ impl LspAdapter for JsonLspAdapter {
|
|||
&version_dir,
|
||||
)
|
||||
.await?;
|
||||
|
||||
remove_matching(&container_dir, |entry| entry != server_path).await;
|
||||
}
|
||||
|
||||
Ok(LanguageServerBinary {
|
||||
|
|
Loading…
Reference in a new issue