From 411f855ad52b872f8baab905c91775ec50cb0855 Mon Sep 17 00:00:00 2001 From: Jane Lewis Date: Fri, 5 Apr 2024 17:13:25 -0700 Subject: [PATCH] Remove debug print when resolving client settings in `ruff server` (#10799) This was a statement used as part of the test plan in #10764 that was erroneously committed in 8aa31f4c7421d51e6aa4c4c71f271703d0ea51a5. --- crates/ruff_server/src/session.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/ruff_server/src/session.rs b/crates/ruff_server/src/session.rs index c7e1c6454bc6f2..bf8bb2efc8e98c 100644 --- a/crates/ruff_server/src/session.rs +++ b/crates/ruff_server/src/session.rs @@ -96,12 +96,10 @@ impl Session { } pub(crate) fn take_snapshot(&self, url: &Url) -> Option { - let resolved_settings = self.workspaces.client_settings(url, &self.global_settings); - tracing::info!("Resolved settings for document {url}: {resolved_settings:?}"); Some(DocumentSnapshot { configuration: self.workspaces.configuration(url)?.clone(), resolved_client_capabilities: self.resolved_client_capabilities.clone(), - client_settings: resolved_settings, + client_settings: self.workspaces.client_settings(url, &self.global_settings), document_ref: self.workspaces.snapshot(url)?, position_encoding: self.position_encoding, url: url.clone(),