`Bundler::Audit::Task` does not fail when vulnerabilities are found
postmodern opened this issue · comments
Postmodern commented
Description
The Bundler::Audit::Task
does not fail if vulnerabilities are found. Add exit $?.exitstatus || 1
to mimic how the rspec rake task works.
Steps To Reproduce
Steps to reproduce the bug:
bundle exec rake bundler:audit
echo $?
Expected Behavior
Exits with 1
when vulnerabilities are found.
Actual Behavior
Always exits with 0
.
Postmodern commented
Fixed build in 0b2a28c.
Postmodern commented
Also tested locally with a known vulnerable bundle. Now exits with status code 1
.
Postmodern commented
bundler-audit 0.9.1 has been released. See the ChangeLog for a short summary of the bug.