summaryrefslogtreecommitdiff
path: root/lib/rubygems/specification_policy.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-04-04 12:12:02 +0900
committergit <[email protected]>2023-04-04 12:20:43 +0000
commit06da0d1456f52a69ad19a0a8cc35e3359d2d144c ()
treeb83609f2b7d0f8610e0f918d8c1a048810dd62fd /lib/rubygems/specification_policy.rb
parenta881b33818b101ad097cd0158afda11b6c24f1fc (diff)
[rubygems/rubygems] util/rubocop -A
https://.com/rubygems/rubygems/commit/8c9ea5d180
-rw-r--r--lib/rubygems/specification_policy.rb2
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ class Gem::SpecificationPolicy
end
next unless METADATA_LINK_KEYS.include? key
- if !VALID_URI_PATTERN.match?(value)
error "#{entry} has invalid link: #{value.inspect}"
end
end