Skip to content

Commit d655ebf

Browse files
committed
cli(run): avoid duplicate runtime logs when live output already printed
1 parent 660ed9c commit d655ebf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/RunCommand.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ namespace vix::commands::RunCommand
572572
if (!handled && vix::cli::errors::RawLogDetectors::handleKnownRunFailure(log, testExe->string()))
573573
handled = true;
574574

575-
if (!handled)
575+
if (!handled && !tr.printed_live)
576576
std::cout << log << "\n";
577577
}
578578

@@ -656,7 +656,7 @@ namespace vix::commands::RunCommand
656656
if (!handled && vix::cli::errors::RawLogDetectors::handleKnownRunFailure(log, exePath))
657657
handled = true;
658658

659-
if (!handled)
659+
if (!handled && !rr.printed_live)
660660
std::cout << log << "\n";
661661
}
662662

0 commit comments

Comments
 (0)