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((
|
||||
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();
|
||||
})
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user