bugfix: detectar host ficticion de bitbucket
This commit is contained in:
@@ -299,6 +299,10 @@ def parse_url(url: str) -> list[str]:
|
|||||||
else:
|
else:
|
||||||
raise RuntimeError("Invalid url: " + url)
|
raise RuntimeError("Invalid url: " + url)
|
||||||
|
|
||||||
|
# Esto permite utilizar un Host ficticio si tenemos 2 cuentas de bitbucket (personal y trabajo)
|
||||||
|
if service.endswith(".bitbucket.org"):
|
||||||
|
service = "bitbucket.org"
|
||||||
|
|
||||||
return [service, repository]
|
return [service, repository]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user