From 4dbee36f84952d7a237a2fdd8fd8d3e2823692df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 5 Oct 2023 11:40:02 +0200 Subject: [rubygems/rubygems] Use instantiated definition directly https://github.com/rubygems/rubygems/commit/bc233af4d2 --- lib/bundler/cli/lock.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/cli/lock.rb b/lib/bundler/cli/lock.rb index cb3ed27138..e23bef1990 100644 --- a/lib/bundler/cli/lock.rb +++ b/lib/bundler/cli/lock.rb @@ -34,7 +34,7 @@ module Bundler end definition = Bundler.definition(update) - Bundler::CLI::Common.configure_gem_version_promoter(Bundler.definition, options) if options[:update] + Bundler::CLI::Common.configure_gem_version_promoter(definition, options) if options[:update] options["remove-platform"].each do |platform| definition.remove_platform(platform) -- cgit v1.2.3