diff --git a/config.ts b/config.ts index 7f72f5bb..75a265ec 100644 --- a/config.ts +++ b/config.ts @@ -42,7 +42,7 @@ if (!parsed.success) { console.info(errorMessage); - process.exit(1); + throw new Error("Configuration file is invalid."); } const exportedConfig = parsed.data;