mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
parent
a881b33818
commit
06da0d1456
3 changed files with 3 additions and 3 deletions
|
@ -144,7 +144,7 @@ class Gem::SpecificationPolicy
|
|||
end
|
||||
|
||||
next unless METADATA_LINK_KEYS.include? key
|
||||
if !VALID_URI_PATTERN.match?(value)
|
||||
unless VALID_URI_PATTERN.match?(value)
|
||||
error "#{entry} has invalid link: #{value.inspect}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue