mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
don't print blank lines for blank description
This commit is contained in:
parent
d8d4844b88
commit
cdac083dc5
1 changed files with 5 additions and 3 deletions
|
@ -176,8 +176,10 @@ std::ostream& operator<<(std::ostream &out, const ErrorInfo &einfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
// description
|
// description
|
||||||
|
if (einfo.description != "") {
|
||||||
out << prefix << einfo.description << std::endl;
|
out << prefix << einfo.description << std::endl;
|
||||||
out << prefix << std::endl;
|
out << prefix << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
// lines of code.
|
// lines of code.
|
||||||
if (einfo.nixCode.has_value() && einfo.nixCode->errLineOfCode != "") {
|
if (einfo.nixCode.has_value() && einfo.nixCode->errLineOfCode != "") {
|
||||||
|
|
Loading…
Reference in a new issue