Fix get_cached_binary for eslint (#18286)

Release Notes:

- Fixed running ESLint offline.
This commit is contained in:
Conrad Irwin
2024-09-24 10:13:53 -06:00
committed by GitHub
parent 5e62bbfd29
commit 0e86ba0983
2 changed files with 22 additions and 27 deletions
+2 -1
View File
@@ -384,8 +384,9 @@ pub trait LspAdapter: 'static + Send + Sync {
.await
{
log::info!(
"failed to fetch newest version of language server {:?}. falling back to using {:?}",
"failed to fetch newest version of language server {:?}. error: {:?}, falling back to using {:?}",
self.name(),
error,
prev_downloaded_binary.path
);
binary = Ok(prev_downloaded_binary);