mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Use writeln
with --show-settings (#3180)
This commit is contained in:
parent
c9fe0708cb
commit
f5241451d8
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ pub fn show_settings(
|
|||
let settings = resolver.resolve(path, pyproject_strategy);
|
||||
|
||||
let mut stdout = BufWriter::new(io::stdout().lock());
|
||||
write!(stdout, "Resolved settings for: {path:?}")?;
|
||||
write!(stdout, "{settings:#?}")?;
|
||||
writeln!(stdout, "Resolved settings for: {path:?}")?;
|
||||
writeln!(stdout, "{settings:#?}")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue