Skip to content

Commit a381a96

Browse files
committed
changes as requested
1 parent 1ce0373 commit a381a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec-node/dockerCompose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,12 +710,12 @@ export function dockerComposeCLIConfig(params: Omit<PartialExecParameters, 'cmd'
710710
...params,
711711
cmd: dockerCLICmd,
712712
}, 'compose', 'version', '--short')).stdout;
713-
v2 = true;
714713
} catch (err) {
715714
stdout = (await dockerComposeCLI({
716715
...params,
717716
cmd: dockerComposeCLICmd,
718717
}, 'version', '--short')).stdout;
718+
v2 = false;
719719
}
720720
const version = stdout.toString().trim();
721721
params.output.write(`Docker Compose version: ${version}`);

0 commit comments

Comments
 (0)