(filePath: string)
| 6 | import { logger } from "./logger.js"; |
| 7 | |
| 8 | export function getParser(filePath: string): string { |
| 9 | const ext = path.extname(filePath); |
| 10 | return ext === ".tsx" || ext === ".ts" ? "tsx" : "babel"; |
| 11 | } |
| 12 | |
| 13 | // ── I/O-free helpers (used by both single-op wrappers and batch engine) ── |
| 14 |
no outgoing calls
no test coverage detected