Skip to content

Commit

Permalink
Remove debug print when resolving client settings in ruff server (#…
Browse files Browse the repository at this point in the history
…10799)

This was a statement used as part of the test plan in #10764 that was
erroneously committed in 8aa31f4.
  • Loading branch information
snowsignal committed Apr 6, 2024
1 parent c11e6d7 commit 323264d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/ruff_server/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,10 @@ impl Session {
}

pub(crate) fn take_snapshot(&self, url: &Url) -> Option<DocumentSnapshot> {
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(),
Expand Down

0 comments on commit 323264d

Please sign in to comment.