Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsaini04 committed Jun 18, 2024
1 parent 447dc38 commit e952a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spec-node/dockerCompose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,15 +716,15 @@ export function dockerComposeCLIConfig(params: Omit<PartialExecParameters, 'cmd'
}
stdout = (await dockerComposeCLI({
...params,
cmd: "docker-compose",
cmd: 'docker-compose',
}, 'version', '--short')).stdout;
v2 = true;
}
const version = stdout.toString().trim();
params.output.write(`Docker Compose version: ${version}`);
return {
version,
cmd: v2 ? "docker-compose" : dockerComposeCLICmd,
cmd: v2 ? 'docker-compose' : dockerComposeCLICmd,
args: v2 ? [] : ['compose'],
};
})());
Expand Down

0 comments on commit e952a69

Please sign in to comment.