mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 21:49:33 +00:00
Merge pull request #2335 from zed-industries/dont-delete-json-server-after-downloading-it
Don't delete JSON language server directly after downloading it
This commit is contained in:
commit
516e77906e
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