[rubygems/rubygems] Remove redundant checks
https://github.com/rubygems/rubygems/commit/d66815633b
This commit is contained in:
parent
279dcfab7a
commit
2edf9fa23a
@ -237,7 +237,7 @@ module Bundler
|
||||
end
|
||||
|
||||
def spec_names
|
||||
if @allow_remote && dependency_api_available?
|
||||
if dependency_api_available?
|
||||
remote_specs.spec_names
|
||||
else
|
||||
[]
|
||||
@ -245,7 +245,7 @@ module Bundler
|
||||
end
|
||||
|
||||
def unmet_deps
|
||||
if @allow_remote && dependency_api_available?
|
||||
if dependency_api_available?
|
||||
remote_specs.unmet_dependency_names
|
||||
else
|
||||
[]
|
||||
@ -260,7 +260,6 @@ module Bundler
|
||||
end
|
||||
|
||||
def double_check_for(unmet_dependency_names)
|
||||
return unless @allow_remote
|
||||
return unless dependency_api_available?
|
||||
|
||||
unmet_dependency_names = unmet_dependency_names.call
|
||||
|
Loading…
x
Reference in New Issue
Block a user