Skip to content

Commit

Permalink
Update customContainerLocalStart.ts
Browse files Browse the repository at this point in the history
修复 #15
  • Loading branch information
ghostoy authored Sep 12, 2024
1 parent c402e28 commit f9e4242
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 f9e4242

Please sign in to comment.