summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-06-08 19:42:02 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-15 07:01:20 +0900
commit96e3f31c1e857fda1ce28b766dd766b67ceb682a (patch)
tree294a9cefcd8b194defdeefb8fa883f9e25f07e67 /lib
parente1038f943fdfa2d156e800554718ed6e4e1b3828 (diff)
[rubygems/rubygems] Make frozen mode spec also pass on Bundler 3
https://github.com/rubygems/rubygems/commit/ad52f840f2
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 7ccbc2248d..6ad31f8e8e 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -385,7 +385,7 @@ module Bundler
@dependencies.each {|d| both_sources[d.name][0] = d }
locked_dependencies.each do |d|
- next if !Bundler.feature_flag.bundler_3_mode? && @locked_specs[d.name].empty?
+ next if @locked_specs[d.name].empty?
both_sources[d.name][1] = d
end