lib/bundler/source/rubygems.rb in bundler-2.4.4 vs lib/bundler/source/rubygems.rb in bundler-2.4.5
- old
+ new
@@ -290,10 +290,10 @@
end
names
end
def dependency_api_available?
- api_fetchers.any?
+ @allow_remote && api_fetchers.any?
end
protected
def remote_names