Skip to content

Commit

Permalink
chore: include config path in URL reconstruction
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
  • Loading branch information
benmss committed Oct 3, 2024
1 parent e0c0c5b commit fca7918
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/macaron/repo_finder/repo_finder_java.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ def _create_urls(self, group: str, artifact: str, version: str) -> list[str]:
scheme=repo_url.scheme,
netloc=repo_url.netloc,
path=(
(repo_url.path + "/")
if repo_url.path
else "" + "/".join([group, artifact, version, f"{artifact}-{version}.pom"])
((repo_url.path + "/") if repo_url.path else "")
+ "/".join([group, artifact, version, f"{artifact}-{version}.pom"])
),
params="",
query="",
Expand Down

0 comments on commit fca7918

Please sign in to comment.