()
| 478 | } |
| 479 | |
| 480 | flush(): string[] { |
| 481 | if (!this.buffer.length && !this.trailingCR) { |
| 482 | return []; |
| 483 | } |
| 484 | |
| 485 | const lines = [this.buffer.join('')]; |
| 486 | this.buffer = []; |
| 487 | this.trailingCR = false; |
| 488 | return lines; |
| 489 | } |
| 490 | } |
| 491 | |
| 492 | /** |
no outgoing calls
no test coverage detected