Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Sep 18, 2024
1 parent 910bcad commit a51258e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/executor/runnersub.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export async function runConfigSubdomain(config, domaindata, subdomain, sshExec,
if (config.services) {
await writeLog("$> Removing docker compose services if exists");
if (typeof config.services == 'string') {
await sshExec(`docker compose -f ${config.services} --progress-plain down --remove-orphans --rmi all || true`);
await sshExec(`docker compose -f ${config.services} --progress plain down --remove-orphans --rmi all || true`);
} else {
await sshExec(`docker compose --progress-plain down --remove-orphans --rmi all || true`);
}
Expand All @@ -481,7 +481,7 @@ export async function runConfigSubdomain(config, domaindata, subdomain, sshExec,
await writeLog(d.split('\n').map(x => ` ${x}`).join('\n'));
await writeLog("$> Applying compose services");
if (typeof config.services == 'string') {
await sshExec(`docker compose -f ${config.services} --progress-plain up --build --detach`);
await sshExec(`docker compose -f ${config.services} --progress plain up --build --detach`);
} else {
await sshExec(`docker compose up --build --detach`);
}
Expand Down

0 comments on commit a51258e

Please sign in to comment.