Improve apps (#19120)
fixes https://discord.com/channels/1130383047699738754/1488094970241089586
This commit is contained in:
@@ -40,6 +40,9 @@ registerCommands(program);
|
||||
|
||||
program.exitOverride();
|
||||
|
||||
const isExitPromptError = (error: unknown): boolean =>
|
||||
error instanceof Error && error.name === 'ExitPromptError';
|
||||
|
||||
try {
|
||||
program.parse();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user