Closed kanthesha closed 2 months ago
For more context here, we need the tool to exit with a non-zero exit code if there are any lint errors or if the tool throws an error for any reason. This way, when running the tool in a GitHub workflow, the job will fail (as right now it would still show as running successfully, since we catch all errors).
Now, when we run a
yarn run-tool
on a project, even when there're fails or even error, it is been resolved instead of throwing. Output in console now.We would like to throw an error.