From c5947a3e5fb37ed76402af9aa66050fed3a68e8e Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sun, 2 Jun 2024 13:21:37 -0400 Subject: [PATCH] ci(sync-maintainers): hoist `current-maintainers` key (#940) --- scripts/sync-maintainers/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-maintainers/main.ts b/scripts/sync-maintainers/main.ts index e423dde0..767fcbc0 100755 --- a/scripts/sync-maintainers/main.ts +++ b/scripts/sync-maintainers/main.ts @@ -16,7 +16,7 @@ const maintainers = [ Object.values(userstyles).flatMap(( style: UserStylesSchema.Userstyle, ) => - style.readme["current-maintainers"].map((m) => { + style["current-maintainers"].map((m) => { const username = m.url.split("github.com/")?.pop(); // Check that they follow github.com/username pattern. assert.assertExists(username);