lib/bundler/source/git.rb in bundler-2.4.7 vs lib/bundler/source/git.rb in bundler-2.4.8
- old
+ new
@@ -171,9 +171,10 @@
local_specs
end
def install(spec, options = {})
+ return if Bundler.settings[:no_install]
force = options[:force]
print_using_message "Using #{version_message(spec, options[:previous_spec])} from #{self}"
if (requires_checkout? && !@copied) || force