Skip to content

Commit c2a4840

Browse files
committed
fix: program.exitOverride(); try catch error keep silent
1 parent cb85f5a commit c2a4840

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ program
6060
.addCommand(refreshCommand)
6161
.addCommand(downloadCommand);
6262

63+
program.exitOverride();
64+
6365
try {
64-
program.exitOverride();
6566
await program.parseAsync(process.argv);
6667
} catch (error) {
67-
console.log((error as Error).message);
68+
// console.log((error as Error).message);
6869
}

0 commit comments

Comments
 (0)