mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
libmain: fix ignoring empty lines in the print-build-logs option
This commit is contained in:
parent
deb3533eab
commit
01c96f9fd5
1 changed files with 14 additions and 16 deletions
|
@ -287,7 +287,6 @@ public:
|
|||
|
||||
else if (type == resBuildLogLine || type == resPostBuildLogLine) {
|
||||
auto lastLine = chomp(getS(fields, 0));
|
||||
if (!lastLine.empty()) {
|
||||
auto i = state->its.find(act);
|
||||
assert(i != state->its.end());
|
||||
ActInfo info = *i->second;
|
||||
|
@ -305,7 +304,6 @@ public:
|
|||
update(*state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if (type == resUntrustedPath) {
|
||||
state->untrustedPaths++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue