зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Remove unnecessary string concatenation
https://github.com/rubygems/rubygems/commit/81ccb3ab89
This commit is contained in:
Родитель
c4bf24ee46
Коммит
deff9e2699
|
@ -1240,8 +1240,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||
clear_load_cache
|
||||
unresolved = unresolved_deps
|
||||
unless unresolved.empty?
|
||||
w = "W" + "ARN"
|
||||
warn "#{w}: Unresolved or ambiguous specs during Gem::Specification.reset:"
|
||||
warn "WARN: Unresolved or ambiguous specs during Gem::Specification.reset:"
|
||||
unresolved.values.each do |dep|
|
||||
warn " #{dep}"
|
||||
|
||||
|
@ -1251,7 +1250,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||
versions.each {|s| warn " - #{s.version}" }
|
||||
end
|
||||
end
|
||||
warn "#{w}: Clearing out unresolved specs. Try 'gem cleanup <gem>'"
|
||||
warn "WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'"
|
||||
warn "Please report a bug if this causes problems."
|
||||
unresolved.clear
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче