From f36776657efc787ae5c76b0e7e2c1394c3388249 Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Wed, 10 Apr 2024 12:15:07 -0700 Subject: [PATCH] Exit batcher with error code if config is invalid --- packages/batcher/runtime/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/batcher/runtime/src/index.ts b/packages/batcher/runtime/src/index.ts index fea9e8d5..c7c81615 100644 --- a/packages/batcher/runtime/src/index.ts +++ b/packages/batcher/runtime/src/index.ts @@ -148,7 +148,7 @@ function checkConfig(): boolean { async function main(): Promise { if (!checkConfig()) { - return; + process.exit(1); } await parseSecurityYaml();