mirror of https://github.com/astral-sh/ruff
Remove stray parenthesis from fixed errors message (#2181)
Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
52201422ae
commit
c00b8b6d2d
|
|
@ -99,7 +99,7 @@ impl<'a> Printer<'a> {
|
|||
let s = if total == 1 { "" } else { "s" };
|
||||
writeln!(
|
||||
stdout,
|
||||
"Found {total} error{s}) ({fixed} fixed, {remaining} remaining)."
|
||||
"Found {total} error{s} ({fixed} fixed, {remaining} remaining)."
|
||||
)?;
|
||||
} else if remaining > 0 {
|
||||
let s = if remaining == 1 { "" } else { "s" };
|
||||
|
|
|
|||
Loading…
Reference in New Issue