ssh urls were treated as local
This commit is contained in:
@@ -22,7 +22,7 @@ class Dependency(yaml.YAMLError):
|
|||||||
def __post_init__(self) -> None:
|
def __post_init__(self) -> None:
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
url = urlparse(self.remote)
|
url = urlparse(self.remote)
|
||||||
self.local = not url.scheme
|
self.local = not self.remote.startswith("git@") and not url.scheme
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cid(self) -> str:
|
def cid(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user