Description
Currently, the scan tool returns 0 as the exit code, despite having failures in the scan or not. This is not helpful in CICD pipelines, given that we might need to fail the workflow.
Steps to Reproduce
Run bal scan on a project with rule violations.
Run echo $? afterwards to recieve the exit code of the process.
It will be 0
Version
0.11.0
Environment Details (with versions)
No response