mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 05:25:17 +00:00
Trim trailing whitespace in server debug message (#11895)
This commit is contained in:
parent
e7c4d28c5e
commit
f8f0053a6c
1 changed files with 2 additions and 3 deletions
|
@ -139,14 +139,13 @@ fn debug_information(session: &Session) -> String {
|
|||
.map(|path| format!("{}", path.display()))
|
||||
.unwrap_or_else(|_| "<unavailable>".to_string());
|
||||
format!(
|
||||
r#"executable = {executable}
|
||||
"executable = {executable}
|
||||
version = {version}
|
||||
encoding = {encoding:?}
|
||||
open_document_count = {doc_count}
|
||||
active_workspace_count = {workspace_count}
|
||||
configuration_files = {config_files:?}
|
||||
{client_capabilities}
|
||||
"#,
|
||||
{client_capabilities}",
|
||||
version = crate::version(),
|
||||
encoding = session.encoding(),
|
||||
client_capabilities = session.resolved_client_capabilities(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue