(text: string)
| 641 | const out = stripAnsi(p.frame.raw) |
| 642 | const cmd = (p.input.command ?? "").trim() |
| 643 | const fmt = (text: string) => { |
| 644 | const body = text.replace(/^\n+/, "").replace(/\n+$/, "") |
| 645 | return body ? `\n${body}` : "" |
| 646 | } |
| 647 | |
| 648 | if (!cmd) { |
| 649 | return out.replace(/\n+$/, "") |
no outgoing calls
no test coverage detected