fix(sync-maintainers): url doesn't exist anymore (#1692)

This commit is contained in:
Hammy authored and GitHub committed 2025-04-05 00:13:20 +01:00
1 parent c6ad90ef85
commit f165046a9b
1 file changed
+3 -5
+3 -5
View File
@@ -18,11 +18,9 @@ const maintainers = [
Object.values(userstyles).flatMap((
style: Userstyle,
) =>
style["current-maintainers"].map((m) => {
const username = m.url.split("github.com/")?.pop();
// Check that they follow github.com/username pattern.
assert.assertExists(username);
return username.toLowerCase();
style["current-maintainers"].map((name) => {
assert.assertExists(name);
return name.toLowerCase();
})
),
),