Closed postmodern closed 2 years ago
Fixed build in 0b2a28cca36ca8e02a31d9d007f7df02cc380189.
Also tested locally with a known vulnerable bundle. Now exits with status code 1
.
bundler-audit 0.9.1 has been released. See the ChangeLog for a short summary of the bug.
Description
The
Bundler::Audit::Task
does not fail if vulnerabilities are found. Addexit $?.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
.