We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304f1f4 commit 11144c2Copy full SHA for 11144c2
src/utils/manage.ts
@@ -43,9 +43,9 @@ async function getStatusFromCLI(): Promise<LocalstackStatus | undefined> {
43
const result = await exec(
44
"docker inspect -f '{{.State.Status}}' localstack-main",
45
);
46
- if (/running/i.test(result.stdout)) {
+ if (result.stdout.includes("running")) {
47
return "running";
48
- } else if (/stopped/i.test(result.stdout)) {
+ } else if (result.stdout.includes("stopped")) {
49
return "stopped";
50
}
51
} catch {
0 commit comments