fix: 🚨 Throw new error instead of using process.exit()

This commit is contained in:
Jesse Wierzbinski 2025-02-15 02:53:08 +01:00
parent bf42f3d677
commit 935ad72936
No known key found for this signature in database

View file

@ -42,7 +42,7 @@ if (!parsed.success) {
console.info(errorMessage);
process.exit(1);
throw new Error("Configuration file is invalid.");
}
const exportedConfig = parsed.data;