SAST execution should raise an error if project directory is empty
What does this MR do?
It makes SAST fail and return exit code 4 when the project directory given to it for analyze is empty (as most likelly this happens due to an error in configuration)
Why was this MR needed?
To avoid giving a misleading error message, "project empty" instead of "No compatible analyzer can be found"
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary [ ] Documentation created/updated-
Tests added for this feature/bug