diff --git a/pkgs/clan-cli/clan_cli/machines/update.py b/pkgs/clan-cli/clan_cli/machines/update.py index 564a864bf..e9c9a0304 100644 --- a/pkgs/clan-cli/clan_cli/machines/update.py +++ b/pkgs/clan-cli/clan_cli/machines/update.py @@ -37,7 +37,8 @@ def is_local_input(node: dict[str, dict[str, str]]) -> bool: # matches path and git+file:// return ( locked["type"] == "path" - or re.match(r"^\w+\+file://", locked.get("url", "")) is not None + # local vcs inputs i.e. git+file:/// + or re.match(r"^file://", locked.get("url", "")) is not None )