Skip to content

Commit 03e4fe9

Browse files
committed
Reset contributor script
1 parent 1b308ca commit 03e4fe9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/update-contributors.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ async function readReadme() {
183183
* @param {Array} contributors Array of contributor objects from GitHub API
184184
* @returns {string} HTML for contributors section
185185
*/
186-
const EXCLUDED_LOGIN_SUBSTRINGS = ["[bot]", "R00-B0T"]
187-
const EXCLUDED_LOGIN_EXACTS = ["cursor", "roomote"]
186+
const EXCLUDED_LOGIN_SUBSTRINGS = ['[bot]', 'R00-B0T'];
187+
const EXCLUDED_LOGIN_EXACTS = ['cursor', 'roomote'];
188188

189189
function formatContributorsSection(contributors) {
190190
// Filter out GitHub Actions bot, cursor, and roomote
191-
const filteredContributors = contributors.filter(
192-
(c) =>
193-
!EXCLUDED_LOGIN_SUBSTRINGS.some((sub) => c.login.includes(sub)) && !EXCLUDED_LOGIN_EXACTS.includes(c.login),
191+
const filteredContributors = contributors.filter((c) =>
192+
!EXCLUDED_LOGIN_SUBSTRINGS.some(sub => c.login.includes(sub)) &&
193+
!EXCLUDED_LOGIN_EXACTS.includes(c.login)
194194
)
195195

196196
// Start building with Markdown table format

0 commit comments

Comments
 (0)