Skip to content

Commit

Permalink
fix: exit from process after create command is done
Browse files Browse the repository at this point in the history
  • Loading branch information
backeseduardo authored and seppevs committed Sep 25, 2023
1 parent 282cd6e commit addeabf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/migrate-mongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ program
console.log(`Created: ${config.migrationsDir}/${fileName}`);
})
)
.then(() => {
process.exit(0);
})
.catch(err => handleError(err));
});

Expand Down

0 comments on commit addeabf

Please sign in to comment.