(file: string)
| 18117 | } |
| 18118 | |
| 18119 | function numberForMarkdownFile(file: string): number { |
| 18120 | const parsed = parseReportFileName(file); |
| 18121 | if (!parsed) throw new Error(`Invalid report filename: ${file}`); |
| 18122 | return parsed.number; |
| 18123 | } |
| 18124 | |
| 18125 | function repoRelativePath(path: string): string { |
| 18126 | return relative(ROOT, path).replaceAll("\\", "/"); |
no test coverage detected