Skip to content

Commit

Permalink
fix: Failing uv test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisyuska authored and robaiken committed Mar 6, 2025
1 parent 43b0c7e commit 3855537
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def requirement_class
def validate_index(index_url)
sanitized_url = index_url.gsub(%r{(?<=//).*(?=@)}, "redacted")

return if index_url&.match?(URI::DEFAULT_PARSER.regexp[:ABS_URI])
return if index_url&.match?(URI::RFC2396_PARSER.regexp[:ABS_URI])

raise Dependabot::DependencyFileNotResolvable,
"Invalid URL: #{sanitized_url}"
Expand Down

0 comments on commit 3855537

Please sign in to comment.