From aa7455592d8fd8f0a46d37bc98891a3306375f24 Mon Sep 17 00:00:00 2001 From: Puru Vijay Date: Fri, 20 Sep 2024 22:17:06 +0530 Subject: [PATCH] throw error --- scripts/checks.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/checks.ts b/scripts/checks.ts index ffc0c3f..0dc7fc7 100644 --- a/scripts/checks.ts +++ b/scripts/checks.ts @@ -45,6 +45,8 @@ if (errors.size !== 0) { } } console.log(kleur.red().bold(`${totalErrors} ERRORS`)); + + throw new Error(''); } else { console.log( kleur.green().bold('✅✅✅✅✅✅✅✅✅ No errors found! ✅✅✅✅✅✅✅✅✅')