(state: LineStreamState)
| 53 | } |
| 54 | |
| 55 | function flushChunkLines(state: LineStreamState): void { |
| 56 | if (state.remainder.length === 0) { |
| 57 | return; |
| 58 | } |
| 59 | |
| 60 | state.lines.push(state.remainder); |
| 61 | state.remainder = ''; |
| 62 | } |
| 63 | |
| 64 | function collectRawOutput( |
| 65 | fallbackErrorMessages: readonly string[] | undefined, |