From fe326df0db5442f1ae5da23e3777513baf849262 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 17 Jan 2022 18:46:16 -0500 Subject: [PATCH] fix --- cli/lsp/language_server.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index 80b93d3bfc..344e8c0345 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -325,9 +325,8 @@ impl Inner { let maybe_config = crate::config_file::discover_from(&root_path, &mut checked)?; Ok(maybe_config.map(|c| { - let s = c.specifier.clone(); - lsp_log!(" Auto-resolved configuration file: \"{}\"", s); - (c, s) + lsp_log!(" Auto-resolved configuration file: \"{}\"", c.specifier); + c })) } else { Ok(None)