mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 08:16:28 +00:00
fix: reverted changes made by erroneous commit
This commit is contained in:
parent
66157f6c92
commit
b8aa00898f
@ -115,7 +115,7 @@ class AppMeta:
|
|||||||
name = url if url else self.name
|
name = url if url else self.name
|
||||||
if name.startswith("git@") or name.startswith("ssh://"):
|
if name.startswith("git@") or name.startswith("ssh://"):
|
||||||
self.use_ssh = True
|
self.use_ssh = True
|
||||||
_first_part, _second_part = self.name.rsplit(":", 1)
|
_first_part, _second_part = name.rsplit(":", 1)
|
||||||
self.remote_server = _first_part.split("@")[-1]
|
self.remote_server = _first_part.split("@")[-1]
|
||||||
self.org, _repo = _second_part.rsplit("/", 1)
|
self.org, _repo = _second_part.rsplit("/", 1)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user