fix(sync-maintainers): url doesn't exist anymore (#1692)
This commit is contained in:
1 parent
c6ad90ef85
commit
f165046a9b
1 file changed
+3
-5
@@ -18,11 +18,9 @@ const maintainers = [
|
|||||||
Object.values(userstyles).flatMap((
|
Object.values(userstyles).flatMap((
|
||||||
style: Userstyle,
|
style: Userstyle,
|
||||||
) =>
|
) =>
|
||||||
style["current-maintainers"].map((m) => {
|
style["current-maintainers"].map((name) => {
|
||||||
const username = m.url.split("github.com/")?.pop();
|
assert.assertExists(name);
|
||||||
// Check that they follow github.com/username pattern.
|
return name.toLowerCase();
|
||||||
assert.assertExists(username);
|
|
||||||
return username.toLowerCase();
|
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in new issue
Block a user