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:
co-authored by
Joseph Lyons
Mikayla Maki
parent
54582fd77f
commit
0199ffed5f
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user