Skip to content

Commit

Permalink
Exit batcher with error code if config is invalid (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac authored Apr 10, 2024
1 parent 1ab9da3 commit 6b14acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/batcher/runtime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ function checkConfig(): boolean {

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

0 comments on commit 6b14acf

Please sign in to comment.