lib/bundler/injector.rb in bundler-2.5.5 vs lib/bundler/injector.rb in bundler-2.5.6
- old
+ new
@@ -48,10 +48,10 @@
# since nothing broke, we can add those gems to the gemfile
append_to(gemfile_path, build_gem_lines(@options[:conservative_versioning])) if @deps.any?
# since we resolved successfully, write out the lockfile
- @definition.lock(Bundler.default_lockfile)
+ @definition.lock
# invalidate the cached Bundler.definition
Bundler.reset_paths!
# return an array of the deps that we added