Skip to content

Commit

Permalink
Merge pull request #678 from HaveAGitGat/exit
Browse files Browse the repository at this point in the history
Log CLI exit code
  • Loading branch information
HaveAGitGat authored Jun 23, 2024
2 parents 84646b7 + 9551282 commit a8b0fd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions FlowPlugins/FlowHelpers/1.0.0/cliUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ var CLI = /** @class */ (function () {
if (this.cancelled) {
cliExitCode = 1;
}
this.config.jobLog("CLI ".concat(this.config.cli, " exited with code: ").concat(cliExitCode));
return [2 /*return*/, {
cliExitCode: cliExitCode,
errorLogFull: errorLogFull,
Expand Down
2 changes: 2 additions & 0 deletions FlowPluginsTs/FlowHelpers/1.0.0/cliUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ class CLI {
cliExitCode = 1;
}

this.config.jobLog(`CLI ${this.config.cli} exited with code: ${cliExitCode}`);

return {
cliExitCode,
errorLogFull,
Expand Down

0 comments on commit a8b0fd3

Please sign in to comment.