diff --git a/.github/workflows/update-set-implementation-lists.yml b/.github/workflows/update-set-implementation-lists.yml index c502d95f510..b8070b18f28 100644 --- a/.github/workflows/update-set-implementation-lists.yml +++ b/.github/workflows/update-set-implementation-lists.yml @@ -72,10 +72,10 @@ jobs: const implemented = []; cards.forEach(cardData => { - const className = toCamelCase(cardData[0].replace(/[+]/g, ' Plus ').replace(/[_]+/g, ' Blank ').replace(/[-+,'.!?`@#$%^&*()_=<>:";~\\|/]/g, '')); + 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`); - if(cleanCardName === "ulamogscrusher") console.log(cardPath); + if(cleanCardName === "willothewisp") console.log(cardPath); if (fs.existsSync(cardPath)) { implemented.push({ pr: true, //TODO: check to see if there is a PR for this card