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

Commit 87bf691

Browse files
committed
unused container and don't fail on rm if container not found
1 parent 612b732 commit 87bf691

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/commands/dev.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ async function cleanup(path, errorMessage) {
3434
`${chalk.red(`\nError during writing of logfile`)}\n\n${error}`
3535
)
3636
);
37-
38-
// close hasura console docker container
39-
await exec("docker rm -f nhost_hasura-console");
4037
}
4138

4239
if (hasuraConsoleSpawn && hasuraConsoleSpawn.pid) {

src/commands/down.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const exec = util.promisify(require("child_process").exec);
66
class DownCommand extends Command {
77
async run() {
88
await exec(
9-
"docker rm -f nhost_postgres nhost_hasura nhost_hbp nhost_minio nhost_api nhost_hasura-console"
9+
"docker rm -f nhost_postgres nhost_hasura nhost_hbp nhost_minio nhost_api || true"
1010
);
1111
this.log(`\n${chalk.white("All Nhost services down")}`);
1212
}

0 commit comments

Comments
 (0)