mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
maintainers/scripts/pluginupdate.py: fix repo name inferring for non-github repos
This commit is contained in:
parent
5edb89f609
commit
ea2706b839
@ -108,7 +108,7 @@ class Repo:
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return self.uri.split("/")[-1]
|
||||
return self.uri.strip("/").split("/")[-1]
|
||||
|
||||
@property
|
||||
def branch(self):
|
||||
|
Loading…
Reference in New Issue
Block a user