Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nikromen committed Apr 12, 2023
1 parent 243eff5 commit fff41dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpa/repository/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _parse_reponame_from_url(url: str) -> str:
split = without_git_suffix.split("/")
return f"{split[-2]}/{split[-1]}"

return url.split(":")[-1]
return without_git_suffix.split(":")[-1]

def full_reponame(self) -> str:
logger.debug(f"Trying to find {self.remote_name} in {self.remotes}")
Expand Down

0 comments on commit fff41dc

Please sign in to comment.