Fix Python's cached binary retrieval being borked

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Julia 2023-09-08 12:09:31 -04:00
parent e7b7ac9d8c
commit 74ccb3df63
2 changed files with 12 additions and 27 deletions

View file

@ -262,6 +262,7 @@ impl LspAdapter for RustLspAdapter {
})
}
}
async fn get_cached_server_binary(container_dir: PathBuf) -> Option<LanguageServerBinary> {
(|| async move {
let mut last = None;