(path: string)
| 146 | } |
| 147 | |
| 148 | function sanitizeProjectFilePath(path: string): string { |
| 149 | const normalizedPath = stripMarkdownExtension(path.trim()).replace(/\\/g, "/"); |
| 150 | return normalizedPath |
| 151 | .split("/") |
| 152 | .filter((segment) => segment.length > 0) |
| 153 | .map((segment) => segment.replace(/[<>:"|?*]/g, "_")) |
| 154 | .join("/"); |
| 155 | } |
| 156 | |
| 157 | function getProjectFilePath( |
| 158 | project: string, |
no test coverage detected