I think It could be really useful if an exit code is added so this can be used in CI environments :)
something like exit 0 for no errors and exit 1 whenever there are some failures. This way the this could be integrated into the npm scripts of a project for example.
I did this quick hack as a poc, if you like the idea I'll be glad to submit a PR :)
...
if (passed+failed === files.length) {
...
process.exit(failed)
}
...
I think It could be really useful if an exit code is added so this can be used in CI environments :)
something like exit 0 for no errors and exit 1 whenever there are some failures. This way the this could be integrated into the npm scripts of a project for example.
I did this quick hack as a poc, if you like the idea I'll be glad to submit a PR :)
What do you think?