Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Exit process after running command
Browse files Browse the repository at this point in the history
Fixes #1469
  • Loading branch information
spalladino committed Feb 19, 2020
1 parent 1a74948 commit 0ed48bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/register-command.ts
Expand Up @@ -76,6 +76,7 @@ export function register(program: Command, spec: CommandSpec, getAction: () => P
await promptOrValidateAll(cmd, spec, params);
Telemetry.report(cmd.name(), params as { [key: string]: unknown }, !!params.interactive);
await action(params);
process.exit(0);
});

for (const opt of spec.options) {
Expand Down

0 comments on commit 0ed48bf

Please sign in to comment.