| ... | ... | @@ -704,12 +704,11 @@ function renderChildren(state: ReadOnlyNode, now: number, depth: boolean[]) { |
| 704 | 704 | truncated += 1; |
| 705 | 705 | continue; |
| 706 | 706 | } |
| 707 | | const logLines = child?.logs |
| 707 | const logLines = child.logs |
| 708 | 708 | .map((msg) => log.formatMessage(msg, true)) |
| 709 | 709 | .join("") |
| 710 | | .split("\n") |
| 711 | | .slice(-Math.min(3, maxHeight)) ?? []; |
| 712 | | for (const line of logLines) { |
| 710 | .trim(); |
| 711 | if (logLines) for (const line of logLines.split("\n").slice(-Math.min(3, maxHeight))) { |
| 713 | 712 | item += left + (i === length - 1 && !truncated ? " " : box.line) + " " + |
| 714 | 713 | ansi.style(ansi.fgBrightBlack, ">") + |
| 715 | 714 | " " + line + "\n"; |