Skip to content

Commit

Permalink
Strip leading slash for repo url
Browse files Browse the repository at this point in the history
  • Loading branch information
amartani committed Dec 11, 2024
1 parent a7b7126 commit 37cafa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/private/pypi/parse_simpleapi_html.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ def _absolute_url(index_url, candidate):
return "{}/{}".format(index_url, last.strip("/"))

# relative path without up-references
return "{}/{}".format(index_url, candidate)
return "{}/{}".format(index_url.rstrip("/"), candidate)

0 comments on commit 37cafa7

Please sign in to comment.