mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 04:22:01 -08:00
Update update-set-implementation-lists.yml
This commit is contained in:
parent
52483f7c7f
commit
1eccc25684
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue