From 30d41d76aa1077d726145bfc38be2bbb96526d2d Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 12 Dec 2023 23:54:59 +0000 Subject: [PATCH] fix: new lines in codeowners --- .github/CODEOWNERS | 6 ------ scripts/generate/main.ts | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ccb4e5703b..5bb8ab53f2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -5,7 +5,6 @@ /styles/brave-search @ndsboy /styles/bstats @rockquiet /styles/canvas-lms @TheMemeSniper - /styles/chatreplay @AnubisNekhet /styles/chess.com @coldenate @isabelroses @skelebro1 /styles/cinny @jn-sena @@ -15,7 +14,6 @@ /styles/ecosia @isabelroses /styles/elk @ryanccn /styles/formative @r58Playz - /styles/gmail @isabelroses /styles/google @GitMuslim /styles/hacker-news @lucasmelin @@ -25,7 +23,6 @@ /styles/instagram @GenShibe /styles/invidious @nekowinston /styles/invokeai @ryanccn - /styles/libreddit @isabelroses /styles/lichess @coopw1 /styles/linkedin @isabelroses @@ -34,12 +31,10 @@ /styles/nitter @AnubisNekhet /styles/nixos-search @alaidriel /styles/nixos.wiki @nekowinston - /styles/pinterest @jn-sena /styles/planet-minecraft @night-lake /styles/proton @soya-daizu /styles/quizlet @spaghettiosareyummy - /styles/searxng @Sekki21956 @ryanccn /styles/spotify-web @tnixc /styles/startpage @bartlibert @@ -50,6 +45,5 @@ /styles/tuta @ryanccn /styles/twitch @GitMuslim @isabelroses /styles/vercel @ryanccn - /styles/wikiwand @tnixc /styles/youtube @isabelroses \ No newline at end of file diff --git a/scripts/generate/main.ts b/scripts/generate/main.ts index b3b697bdf9..949b669112 100755 --- a/scripts/generate/main.ts +++ b/scripts/generate/main.ts @@ -55,8 +55,8 @@ await syncIssueLabels(userstylesData.userstyles); await updateFile( join(REPO_ROOT, ".github/CODEOWNERS"), Object.entries(userstylesData.userstyles) + .filter(([_, { readme }]) => readme["current-maintainers"].length > 0) .map(([slug, { readme }]) => { - if (readme["current-maintainers"].length === 0) return; const currentMaintainers = readme["current-maintainers"] .map((maintainer) => `@${maintainer.url.split("/").pop()}`) .join(" ");