Skip to content

Commit

Permalink
Update customContainerLocalStart.ts
Browse files Browse the repository at this point in the history
修复 #15

Signed-off-by: Cong Liu <cong.liu@dolearning.net>
  • Loading branch information
ghostoy committed Sep 14, 2024
1 parent c402e28 commit c7f3b0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class CustomContainerLocalStart extends BaseLocalStart {
}

async runStart() {
const image = this.getRuntimeRunImage();
const image = await this.getRuntimeRunImage();
process.on('DEVS:SIGINT', () => {
console.log('\nDEVS:SIGINT, stop container');
const out = execSync(`docker ps -a | grep ${image} | awk '{print $1}' | xargs docker kill`);
Expand Down

0 comments on commit c7f3b0e

Please sign in to comment.