(filePath: string)
| 69 | } |
| 70 | |
| 71 | function cleanupTempFile(filePath: string): void { |
| 72 | try { |
| 73 | if (fs.existsSync(filePath)) fs.unlinkSync(filePath) |
| 74 | } catch { |
| 75 | /* ignore */ |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | // ==================== WorkerImporter ==================== |
| 80 |