From 0e5b886d1d043a1bdad29f70bbe2577509760764 Mon Sep 17 00:00:00 2001 From: ExpensiveKoala Date: Sun, 29 Sep 2024 01:47:05 -0700 Subject: [PATCH] Update update-set-implementation-lists.yml --- .github/workflows/update-set-implementation-lists.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-set-implementation-lists.yml b/.github/workflows/update-set-implementation-lists.yml index 4c76c0d7cc0e..3a4204dadac9 100644 --- a/.github/workflows/update-set-implementation-lists.yml +++ b/.github/workflows/update-set-implementation-lists.yml @@ -86,7 +86,7 @@ jobs: const className = toCamelCase(cardData[0].replace(/[+]/g, ' Plus ').replace(/[_]+/g, ' Blank ').replace(/[']/g, '').replace(/[-+,.!?`@#$%^&*()_=<>:";~\\|/]/g, ' ')); const cleanCardName = cardData[0].replace(/[-,'.!?`@#$%^&*()_=<>:";~\\|/\s]/g, '').toLowerCase(); const cardPath = path.join('Mage.Sets', 'src', 'mage', 'cards', className.substring(0, 1), `${className.charAt(0).toUpperCase()+className.slice(1)}.java`); - const claimed = false; + let claimed = false; issueComments && issueComments.forEach(comment => { if (comment.body && comment.body.search(new RegExp(cleanCardName, "i")) != -1) { console.log(`Found a comment by ${comment.user.login} claiming card ${cardData[0]}`);