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! ✅✅✅✅✅✅✅✅✅')