mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Remove trailing newlines in error messages (#8322)
This commit is contained in:
parent
d296e7270a
commit
23c80c547c
5 changed files with 25 additions and 7 deletions
|
@ -129,7 +129,7 @@ async fn main() -> ExitCode {
|
|||
if let Err(err) = result {
|
||||
eprintln!("{}", "uv-dev failed".red().bold());
|
||||
for err in err.chain() {
|
||||
eprintln!(" {}: {}", "Caused by".red().bold(), err);
|
||||
eprintln!(" {}: {}", "Caused by".red().bold(), err.to_string().trim());
|
||||
}
|
||||
ExitCode::FAILURE
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue