diff --git a/packages/cli/src/commands/index.ts b/packages/cli/src/commands/index.ts index ac8e214d26..9dce57813b 100644 --- a/packages/cli/src/commands/index.ts +++ b/packages/cli/src/commands/index.ts @@ -215,6 +215,7 @@ function lazy( try { const actionFunc = await getActionFunc(); await actionFunc(...args); + process.exit(0); } catch (error) { exitWithError(error);