Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 1f65328

Browse files
committed
2.x: Fixed compatibilitu with old containers
1 parent 99b8117 commit 1f65328

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/abstracts/base-cmd-abstract.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export default abstract class BaseCmd extends Command {
266266
protected getProjectRunningContainersCeDev(): Array<string> {
267267
const running = this.getProjectRunningContainers();
268268
const ceDev = [];
269-
const regex = /ce-dev:.*/gm;
269+
const regex = /ce-dev.*/gm;
270270
for (const containerName of running) {
271271
const image = execSync(this.dockerBin +
272272
' inspect ' +
@@ -278,7 +278,6 @@ export default abstract class BaseCmd extends Command {
278278
this.dockerBin + ' inspect ' + image + ' --format={{.Config.Labels}}')
279279
.toString()
280280
.trim()
281-
282281
if (regex.test(labels)) {
283282
ceDev.push(containerName);
284283
}

0 commit comments

Comments
 (0)