(name: string)
| 66 | } |
| 67 | |
| 68 | async function stopAndRemoveContainer(name: string): Promise<void> { |
| 69 | try { |
| 70 | execSync(`docker stop ${name} 2>/dev/null || true`) |
| 71 | execSync(`docker rm ${name} 2>/dev/null || true`) |
| 72 | } catch (_error) { |
| 73 | // Ignore errors, container might not exist |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | async function cleanupExistingContainers(): Promise<void> { |
| 78 | console.log(chalk.blue('🧹 Cleaning up any existing containers...')) |
no outgoing calls
no test coverage detected