fix: update ctp/ctp schema & remove name from userstyles.yml (#1653)
This commit is contained in:
1 parent
5aa468acc8
commit
a5bd6cb5e6
6 files changed
+6
-67
No files matched your search
@@ -40,8 +40,10 @@ function extractName(
|
||||
if (!collaborators) return;
|
||||
// set the name to the github.com/<name>
|
||||
return collaborators.map((c) => {
|
||||
c.name ??= c.url.split("/").pop();
|
||||
return c;
|
||||
return {
|
||||
...c,
|
||||
name: c.url.split("/").pop()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user