Skip to content

Commit

Permalink
fix: remove log for docker compose checks
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Jul 25, 2022
1 parent b3bbcaa commit b372d69
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/env/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ let dockerComposeCmd = 'docker compose';

async function getDockerCompose() {
const dockerSpaceCompose = await spawn('docker', ['compose']).catch(() => ({ code: 1 }));
console.log('dockerSpaceCompose', dockerSpaceCompose);
if (dockerSpaceCompose.code === 0) return;
const dockerMinusCompose = await spawn('docker-compose').catch(() => ({ code: 1 }));
console.log('dockerMinusCompose', dockerMinusCompose);
if (dockerMinusCompose.code === 0) {
dockerComposeCmd = 'docker-compose';
return;
Expand Down

0 comments on commit b372d69

Please sign in to comment.