Skip to content

Commit

Permalink
Use exitCode instead per Node docs recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac committed Apr 10, 2024
1 parent f367766 commit c4cd1e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/batcher/runtime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ function checkConfig(): boolean {

async function main(): Promise<void> {
if (!checkConfig()) {
process.exit(1);
process.exitCode = 1;
return;
}
await parseSecurityYaml();

Expand Down

0 comments on commit c4cd1e2

Please sign in to comment.