Skip to content

Commit

Permalink
fix(cli-kit): ENG-6005 add exit code for failed actions
Browse files Browse the repository at this point in the history
  • Loading branch information
crherman7 committed Jan 22, 2025
1 parent 9d02da1 commit 05eeaa6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-tips-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@brandingbrand/code-cli-kit": major
---

add exit code to failed actions
1 change: 1 addition & 0 deletions packages/cli-kit/src/lib/FlagshipCodeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class FlagshipCodeManager extends EventEmitter {
} catch (e: any) {
FlagshipCodeLogger.shared.error(e);
this.emit('onError');
process.exit(1);
}

++actionsRun;
Expand Down

0 comments on commit 05eeaa6

Please sign in to comment.