()
| 658 | let inFence = false; |
| 659 | let acc: string[] = []; |
| 660 | const flush = () => { |
| 661 | if (current && acc.length > 0) { |
| 662 | out.set(current, (out.get(current) ?? 0) + acc.join('\n').length); |
| 663 | } |
| 664 | acc = []; |
| 665 | }; |
| 666 | for (const line of lines) { |
| 667 | if (!inFence) { |
| 668 | const header = /^\*\*`([^`]+)`\*\*/.exec(line); |
no test coverage detected