mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
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 8aa31f4c74
.
This commit is contained in:
parent
c11e6d709c
commit
323264dec2
1 changed files with 1 additions and 3 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue