mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Reuse error
helper
https://github.com/rubygems/rubygems/commit/3a44b6f846
This commit is contained in:
parent
3cfe190099
commit
fc10f35f3d
Notes:
git
2020-06-05 07:33:36 +09:00
1 changed files with 1 additions and 2 deletions
|
@ -309,8 +309,7 @@ duplicate dependency on #{dep}, (#{prev.requirement}) use:
|
|||
end
|
||||
|
||||
unless Array === val and val.all? {|x| x.kind_of?(klass)}
|
||||
raise(Gem::InvalidSpecificationException,
|
||||
"#{field} must be an Array of #{klass}")
|
||||
error "#{field} must be an Array of #{klass}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue