(dir: string)
| 35 | } |
| 36 | |
| 37 | async function cleanupDir(dir: string): Promise<void> { |
| 38 | try { |
| 39 | await fs.rm(dir, { recursive: true, force: true }); |
| 40 | } catch { |
| 41 | // Best-effort cleanup |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | async function createMinimalIndex(contextDir: string, buildId: string): Promise<void> { |
| 46 | await fs.mkdir(contextDir, { recursive: true }); |
no outgoing calls
no test coverage detected