Add missing trailing newline to outdated error (#14689)

Unlike the other branch in match, which uses a fully formatted error, we
need to print the newline ourselves.

Before (top) and after (bottom):

<img width="1296" height="585" alt="image"
src="https://github.com/user-attachments/assets/b4122ed5-591b-4fd9-a9b7-31b1e506d8aa"
/>
This commit is contained in:
konsti
2025-07-17 22:37:35 +02:00
committed by Zanie Blue
parent cd40a34522
commit 5b716c4e50
+1 -1
View File
@@ -128,7 +128,7 @@ impl OperationDiagnostic {
None
}
pip::operations::Error::OutdatedEnvironment => {
anstream::eprint!("{}", err);
anstream::eprintln!("{}", err);
None
}
err => Some(err),