[rubygems/rubygems] Removed unused variable

https://github.com/rubygems/rubygems/commit/68cc941bed
This commit is contained in:
Hiroshi SHIBATA 2023-06-22 15:25:22 +09:00 коммит произвёл git
Родитель 65c2179336
Коммит a99d0c1555
1 изменённых файлов: 0 добавлений и 5 удалений

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

@ -38,8 +38,6 @@ class Gem::Resolver
##
# List of dependencies that could not be found in the configured sources.
attr_reader :missing
attr_reader :stats
##
@ -106,7 +104,6 @@ class Gem::Resolver
@development = false
@development_shallow = false
@ignore_dependencies = false
@missing = []
@skip_gems = {}
@soft_missing = false
@stats = Gem::Resolver::Stats.new
@ -227,7 +224,6 @@ class Gem::Resolver
def search_for(dependency)
possibles, all = find_possible(dependency)
if !@soft_missing && possibles.empty?
@missing << dependency
exc = Gem::UnsatisfiableDependencyError.new dependency, all
exc.errors = @set.errors
raise exc
@ -274,7 +270,6 @@ class Gem::Resolver
end
def allow_missing?(dependency)
@missing << dependency
@soft_missing
end