diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-03-25 20:58:13 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-06-11 18:43:22 +0900 |
commit | 4a758496804b23da24b85dd85ea81b40b5da9ce6 (patch) | |
tree | 9380f59b1266104af2e6703d94a4c20db9692abe /lib/bundler | |
parent | d5288c8aad5b3de8ac48305b43b983ea30a0535d (diff) | |
download | ruby-4a758496804b23da24b85dd85ea81b40b5da9ce6.tar.gz |
[rubygems/rubygems] Remove unnecessary `spec.remote` guard
It's checked before calling the method already.
https://github.com/rubygems/rubygems/commit/4eb00e9586
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/source/rubygems.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb index 700c4bf38c..1373e39cca 100644 --- a/lib/bundler/source/rubygems.rb +++ b/lib/bundler/source/rubygems.rb @@ -457,8 +457,6 @@ module Bundler end def fetch_gem(spec, previous_spec = nil) - return false unless spec.remote - spec.fetch_platform cache_path = download_cache_path(spec) || default_cache_path_for(rubygems_dir) |