Update update-set-implementation-lists.yml

This commit is contained in:
ExpensiveKoala 2024-09-29 01:45:06 -07:00 committed by GitHub
parent 50274facee
commit 18101a32b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,7 +88,7 @@ jobs:
const cardPath = path.join('Mage.Sets', 'src', 'mage', 'cards', className.substring(0, 1), `${className.charAt(0).toUpperCase()+className.slice(1)}.java`);
const claimed = false;
issueComments && issueComments.forEach(comment => {
if (comment.body && comment.body.search(new RegExp(cleanCardName, "i") != -1) {
if (comment.body && comment.body.search(new RegExp(cleanCardName, "i")) != -1) {
console.log(`Found a comment by ${comment.user.login} claiming card ${cardData[0]}`);
claimed = true;
}