Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
This error can only be raised when loading the cache, and we only load
the cache if this condition is met.
  • Loading branch information
deivid-rodriguez committed Jul 26, 2021
1 parent a669401 commit 86d692e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundler/lib/bundler/cli/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def run

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

Expand Down

0 comments on commit 86d692e

Please sign in to comment.