Skip to content

Commit

Permalink
throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ committed Sep 20, 2024
1 parent 0a71800 commit aa74555
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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! ✅✅✅✅✅✅✅✅✅')
Expand Down

0 comments on commit aa74555

Please sign in to comment.