Omit newlines between errors
This commit is contained in:
parent
ffcae898f3
commit
d437341dab
2 changed files with 6 additions and 2 deletions
|
|
@ -14,6 +14,9 @@ Procedure when bumping the version number:
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Print errors that occurred while cove was running more compactly
|
||||||
|
|
||||||
## v0.5.0 - 2022-09-26
|
## v0.5.0 - 2022-09-26
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -81,13 +81,14 @@ impl Drop for LoggerGuard {
|
||||||
if !error_encountered {
|
if !error_encountered {
|
||||||
eprintln!();
|
eprintln!();
|
||||||
eprintln!("The following errors occurred while cove was running:");
|
eprintln!("The following errors occurred while cove was running:");
|
||||||
eprintln!();
|
|
||||||
}
|
}
|
||||||
error_encountered = true;
|
error_encountered = true;
|
||||||
eprintln!("{}", msg.content);
|
eprintln!("{}", msg.content);
|
||||||
eprintln!();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if error_encountered {
|
||||||
|
eprintln!();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue