[rubygems/rubygems] Remove dead code

https://github.com/rubygems/rubygems/commit/999b644708
This commit is contained in:
David Rodríguez 2022-09-29 07:16:32 +02:00 коммит произвёл Hiroshi SHIBATA
Родитель 931bcd1b63
Коммит 4205190cb2
1 изменённых файлов: 1 добавлений и 12 удалений

Просмотреть файл

@ -264,18 +264,7 @@ module Bundler
next requirement unless search_for(requirement).empty?
next unless requirement.current_platform?
if (base = @base[name]) && !base.empty?
version = base.first.version
message = "You have requested:\n" \
" #{name} #{requirement.requirement}\n\n" \
"The bundle currently has #{name} locked at #{version}.\n" \
"Try running `bundle update #{name}`\n\n" \
"If you are updating multiple gems in your Gemfile at once,\n" \
"try passing them all to `bundle update`"
else
message = gem_not_found_message(name, requirement, source_for(name))
end
raise GemNotFound, message
raise GemNotFound, gem_not_found_message(name, requirement, source_for(name))
end.compact!
end