Skip to content

Commit

Permalink
Throw error instead of exiting with error code 1
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed Jul 5, 2024
1 parent e203975 commit 976a354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ const run = async () => {
try {
run();
} catch (error) {
console.error(error);
process.exit(1);
console.log(error);
throw error;
}

0 comments on commit 976a354

Please sign in to comment.