mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
electron: fix "Incomplete regular expression for hostnames" in update script
This commit is contained in:
@@ -399,7 +399,7 @@ def repo_from_dep(dep: dict) -> Optional[Repo]:
|
||||
if search_object:
|
||||
return GitHubRepo(search_object.group(1), search_object.group(2), rev)
|
||||
|
||||
if re.match(r"https://.+.googlesource.com", url):
|
||||
if re.match(r"https://.+\.googlesource.com", url):
|
||||
return GitilesRepo(url, rev)
|
||||
|
||||
return GitRepo(url, rev)
|
||||
|
||||
Reference in New Issue
Block a user