If a source-only analysis runs, the static report will still use --dep-output as an option. This causes analysis to fail, as dependencies.yaml will not exist.
time="2024-06-18T16:08:23-04:00" level=error msg="failed to generate static report" error="2024/06/18 20:08:22 failed to load provider settings open /opt/output/dependencies.yaml: no such file or directory\n" Error: 2024/06/18 20:08:22 failed to load provider settings open /opt/output/dependencies.yaml: no such file or directory
We need to skip this static report option for source-only analysis.
This is for support case:
https://access.redhat.com/support/cases/#/case/03853272