lib/jefferies_tube/capistrano/deploy.rb in jefferies_tube-0.1.1 vs lib/jefferies_tube/capistrano/deploy.rb in jefferies_tube-0.1.2
- old
+ new
@@ -37,10 +37,10 @@
print_warning "Insecure Source URI found: #{result.source}"
when Bundler::Audit::Scanner::UnpatchedGem
puts "#{result.gem} is not secure!"
end
end
- if vulnerable && ENV["I_KNOW_GEMS_ARE_INSECURE"].blank?
+ if vulnerable && ENV["I_KNOW_GEMS_ARE_INSECURE"] == nil
abort """
Your Gemfile.lock contains unpatched gems -- refusing to deploy
Run `bundle-audit check --update` for full information
You can set 'I_KNOW_GEMS_ARE_INSECURE' if you really want to do this anyway
"""