mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove unnecessary string concatenation
https://github.com/rubygems/rubygems/commit/81ccb3ab89
This commit is contained in:
parent
c4bf24ee46
commit
deff9e2699
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue