diff --git a/scripts/build.py b/scripts/build.py index 52221a7..17884a5 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -793,7 +793,7 @@ def _print_platform_log(r: PlatformResult, verbose: bool = False) -> None: lines = [f" ... ({len(r.log_lines) - _FAILURE_LOG_TAIL} lines omitted, use --verbose for full output)"] + lines[-_FAILURE_LOG_TAIL:] console.print(Panel( - "\n".join(lines) if lines else "[dim]no output[/]", + "\n".join(escape(l) for l in lines) if lines else "[dim]no output[/]", title=f"{r.platform.label} [{status}] {r.elapsed:.1f}s", border_style=style, ))