diff options
Diffstat (limited to 'cli/lsp/config.rs')
-rw-r--r-- | cli/lsp/config.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index 298c86a55..03464d1f8 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -773,7 +773,12 @@ fn resolve_lockfile_from_path( lockfile_path: PathBuf, ) -> Option<Arc<Mutex<Lockfile>>> { match Lockfile::new(lockfile_path, false) { - Ok(value) => Some(Arc::new(Mutex::new(value))), + Ok(value) => { + if let Ok(specifier) = ModuleSpecifier::from_file_path(&value.filename) { + lsp_log!(" Resolved lock file: \"{}\"", specifier); + } + Some(Arc::new(Mutex::new(value))) + } Err(err) => { lsp_warn!("Error loading lockfile: {:#}", err); None |