(filePath: string)
| 183 | raw.replace(/\/\*[\s\S]*?\*\//g, '').replace(/^\s*\/\/.*$/gm, '') |
| 184 | |
| 185 | const safeReadFile = (filePath: string): string | null => { |
| 186 | try { |
| 187 | return readFileSync(filePath, 'utf8') |
| 188 | } catch { |
| 189 | return null |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | const collectExistingPaths = (candidates: string[]): string[] => { |
| 194 | const seen = new Set<string>() |
no outgoing calls
no test coverage detected