fix(tvix): Don't double-up on endlines from log messages
Change-Id: I676dd4e9d8b1a7ff5389323e0462ba6681d62cf0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2168 Reviewed-by: andi <andi@notmuch.email> Reviewed-by: kanepyork <rikingcoding@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
ad9d660d9f
commit
e772f38a5e
1 changed files with 1 additions and 1 deletions
2
third_party/nix/src/libstore/build.cc
vendored
2
third_party/nix/src/libstore/build.cc
vendored
|
@ -3836,7 +3836,7 @@ void DerivationGoal::handleEOF(int /* fd */) {
|
|||
void DerivationGoal::flushLine() {
|
||||
if (settings.verboseBuild &&
|
||||
(settings.printRepeatedBuilds || curRound == 1)) {
|
||||
log_sink() << absl::StrCat(currentLogLine, "\n") << std::endl;
|
||||
log_sink() << currentLogLine << std::endl;
|
||||
} else {
|
||||
logTail.push_back(currentLogLine);
|
||||
if (logTail.size() > settings.logLines) {
|
||||
|
|
Loading…
Reference in a new issue