summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/lock.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/cli/lock.rb')
-rw-r--r--lib/bundler/cli/lock.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli/lock.rb b/lib/bundler/cli/lock.rb
index 5a967165a3..457826dfb5 100644
--- a/lib/bundler/cli/lock.rb
+++ b/lib/bundler/cli/lock.rb
@@ -17,6 +17,7 @@ module Bundler
Bundler.ui = UI::Silent.new if print
gems = options[:update]
+ Bundler::Fetcher.disable_endpoint = options["full-index"]
if gems && !gems.empty?
definition = Bundler.definition(:gems => gems)