ci(sync-maintainers): hoist current-maintainers key (#940)
This commit is contained in:
1 parent
6ca6c43736
commit
c5947a3e5f
1 file changed
+1
-1
@@ -16,7 +16,7 @@ const maintainers = [
|
|||||||
Object.values(userstyles).flatMap((
|
Object.values(userstyles).flatMap((
|
||||||
style: UserStylesSchema.Userstyle,
|
style: UserStylesSchema.Userstyle,
|
||||||
) =>
|
) =>
|
||||||
style.readme["current-maintainers"].map((m) => {
|
style["current-maintainers"].map((m) => {
|
||||||
const username = m.url.split("github.com/")?.pop();
|
const username = m.url.split("github.com/")?.pop();
|
||||||
// Check that they follow github.com/username pattern.
|
// Check that they follow github.com/username pattern.
|
||||||
assert.assertExists(username);
|
assert.assertExists(username);
|
||||||
|
|||||||
Reference in new issue
Block a user