Add --no-exit-on-warn flag that exits with 0 even when vulnerable
Issue
I would like to run bundler-audit as part of our CI builds that test every branch/PR, however I do not want vulnerabilities to cause the build to be considered a failure.
Obviously, this can be achieved in bash but Brakeman, which we also run, provides a --no-exit-on-warn flag for this purpose.
Fix
Added a --no-exit-on-warn flag that causes the CLI to exit with 0, even if vulnerabilities are found.
Error cases, such as update failing, should be unaffected by this change.
I think it would be more useful when 0 status will be returned in case when no solutions presents yet
@MC-Squared You forgot to add specs for your new feature.
Was going to suggest just appending || true to the command to suppress any exit error codes.