diff --git a/code/utils/deploy-pokedex.js b/code/utils/deploy-pokedex.js index 532be1c..8438a76 100644 --- a/code/utils/deploy-pokedex.js +++ b/code/utils/deploy-pokedex.js @@ -498,14 +498,21 @@ async function deploy() { console.log(' Checking frontend...'); const frontendHealthy = await healthCheck(sshConfig.host, config.port); if (!frontendHealthy) { - throw new Error('Frontend health check failed - container is not responding'); + throw new Error( + 'Frontend health check failed - container is not responding' + ); } console.log(' ✅ Frontend healthy'); console.log(' Checking backend...'); - const backendHealthy = await healthCheck(sshConfig.host, config.backendPort); + const backendHealthy = await healthCheck( + sshConfig.host, + config.backendPort + ); if (!backendHealthy) { - throw new Error('Backend health check failed - container is not responding'); + throw new Error( + 'Backend health check failed - container is not responding' + ); } console.log(' ✅ Backend healthy');