fix: update ctp/ctp schema & remove name from userstyles.yml (#1653)

This commit is contained in:
Hammy authored and GitHub committed 2025-03-13 10:45:23 +00:00
1 parent 5aa468acc8
commit a5bd6cb5e6
6 files changed
+6 -67

No files matched your search

+4 -2
View File
@@ -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()
}
});
}