From 053ed7f5e638621ea474c77e0e244df0b3682889 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Jul 2023 09:49:53 +0200 Subject: Update code contributors --- scripts/generate-code-contributors.ts | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'scripts') diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index 5357daf04..2fd0ecdf3 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts @@ -8,12 +8,12 @@ run() }) async function run () { - const blacklist = getContributorsBlacklist() + const excludeList = getContributorsExcludeList() { let contributors = await getGitContributors() contributors = contributors.concat(getZanataContributors()) - contributors = contributors.filter(c => blacklist[c.username] !== true) + contributors = contributors.filter(c => !excludeList.has(c.username)) console.log('# Code & Translators contributors\n') for (const contributor of contributors) { @@ -186,13 +186,16 @@ function getZanataContributors () { ] } -function getContributorsBlacklist () { - return { - 'Bigard Florian': true, - 'chocobozzz': true, - 'Rigel': true, +function getContributorsExcludeList () { + return new Set([ + 'Bigard Florian', + 'chocobozzz', + 'Rigel', // Requested by the contributor - 'Marcel Cramm': true - } + 'Marcel Cramm', + 'Chris Sakura 佐倉くりす on Youtube', + 'Chris Sakura 佐倉くりす on Youtube - 日本語は第二言語やけ、間違っとったら思いっきり叩いてくださいw つたない日本語ばっかりやけど頑張りまーす♪', + 'chris@famichiki.tube' + ]) } -- cgit v1.2.3