(tempFiles)
| 439 | * @param {string[]} tempFiles - Array of temp file paths to delete |
| 440 | */ |
| 441 | export function cleanupTempFiles(tempFiles) { |
| 442 | for (const file of tempFiles) { |
| 443 | if (fs.existsSync(file)) { |
| 444 | try { |
| 445 | fs.unlinkSync(file) |
| 446 | } catch (err) { |
| 447 | // Ignore cleanup errors |
| 448 | } |
| 449 | } |
| 450 | } |
| 451 | } |
no outgoing calls
no test coverage detected