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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 27 deletions

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);