summaryrefslogtreecommitdiff
path: root/lib/bundler/source_map.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/source_map.rb')
-rw-r--r--lib/bundler/source_map.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source_map.rb b/lib/bundler/source_map.rb
index ca73e01f9d..a8e12d08c3 100644
--- a/lib/bundler/source_map.rb
+++ b/lib/bundler/source_map.rb
@@ -23,7 +23,7 @@ module Bundler
if previous_source.nil?
requirements[indirect_dependency_name] = source
else
- no_ambiguous_sources = Bundler.feature_flag.bundler_3_mode?
+ no_ambiguous_sources = Bundler.feature_flag.bundler_4_mode?
msg = ["The gem '#{indirect_dependency_name}' was found in multiple relevant sources."]
msg.concat [previous_source, source].map {|s| " * #{s}" }.sort