1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove unnecessary check

This error can only be raised when loading the cache, and we only load
the cache if this condition is met.

https://github.com/rubygems/rubygems/commit/86d692edb8
This commit is contained in:
David Rodríguez 2021-07-23 22:01:40 +02:00 committed by Hiroshi SHIBATA
parent dd22549e07
commit c6e5267a77
Notes: git 2021-08-31 19:07:29 +09:00

View file

@ -84,7 +84,7 @@ module Bundler
Bundler::CLI::Common.output_fund_metadata_summary
rescue GemNotFound
if options[:local] && Bundler.app_cache.exist?
if options[:local]
Bundler.ui.warn "Some gems seem to be missing from your #{Bundler.settings.app_cache_path} directory."
end