Files explore rendered as ``**` `**`` source sections (issue #778: bold * labels, not ATX headings).
(text: string)
| 25 | /** Files explore rendered as ``**`<path>`**`` source sections (issue #778: bold |
| 26 | * labels, not ATX headings). */ |
| 27 | function renderedSourceFiles(text: string): string[] { |
| 28 | const out: string[] = []; |
| 29 | for (const line of text.split('\n')) { |
| 30 | const m = line.match(/^\*\*`(.+?)`\*\*/); |
| 31 | if (m) out.push(m[1].trim()); |
| 32 | } |
| 33 | return out; |
| 34 | } |
| 35 | |
| 36 | function headerFileCount(text: string): number | null { |
| 37 | const m = text.match(/Found \d+ symbols? across (\d+) files?\./); |
no test coverage detected