Skip to content

Commit

Permalink
feat: migration:generate successful exit the process with zero code (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
needim committed Dec 3, 2022
1 parent 0984307 commit f215e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/MigrationGenerateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export class MigrationGenerateCommand implements yargs.CommandModule {
)} has been generated successfully.`,
),
)
process.exit(0)
}
} catch (err) {
PlatformTools.logCmdErr("Error during migration generation:", err)
Expand Down

0 comments on commit f215e2d

Please sign in to comment.