Skip to content

Commit

Permalink
properly terminate a failed process (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregra81 authored Oct 27, 2023
1 parent 9373c1d commit f146e4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/code/push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ export default class Push extends AuthenticatedCommand {
await tasks.run();
} catch (error: any) {
logger.debug(error, this.DEBUG_TAG);

// need to signal to the parent process that the command failed
process.exit(1);
}
}
}

0 comments on commit f146e4f

Please sign in to comment.