diff --git a/.github/workflows/update-set-implementation-lists.yml b/.github/workflows/update-set-implementation-lists.yml index 0e8a47fc14ae..4c76c0d7cc0e 100644 --- a/.github/workflows/update-set-implementation-lists.yml +++ b/.github/workflows/update-set-implementation-lists.yml @@ -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; }