jeroenouw / liftr-tscov

Check the type coverage of any TypeScript project with this easy npm package
https://www.npmjs.com/package/@liftr/tscov
MIT License
30 stars 5 forks source link

Exit with non-zero status if command fails #10

Closed josh closed 5 years ago

josh commented 5 years ago

When using --min-coverage, tscov will exit with a non-zero status code when the minimum coverage isn't met. This works great with CI runners that use program exit status to determine if the build should be red or green.