mirror of https://github.com/astral-sh/ruff
Add comma to panic message (#18048)
## Summary Consistent with other variants of this, separate the conditional clause.
This commit is contained in:
parent
6b3ff6f5b8
commit
3ccc0edfe4
|
|
@ -605,7 +605,7 @@ where
|
||||||
"This indicates a bug in ty.",
|
"This indicates a bug in ty.",
|
||||||
));
|
));
|
||||||
|
|
||||||
let report_message = "If you could open an issue at https://github.com/astral-sh/ty/issues/new?title=%5Bpanic%5D we'd be very appreciative!";
|
let report_message = "If you could open an issue at https://github.com/astral-sh/ty/issues/new?title=%5Bpanic%5D, we'd be very appreciative!";
|
||||||
diagnostic.sub(SubDiagnostic::new(Severity::Info, report_message));
|
diagnostic.sub(SubDiagnostic::new(Severity::Info, report_message));
|
||||||
diagnostic.sub(SubDiagnostic::new(
|
diagnostic.sub(SubDiagnostic::new(
|
||||||
Severity::Info,
|
Severity::Info,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue