mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
Update update-set-implementation-lists.yml
This commit is contained in:
parent
43914d58d7
commit
834090afa5
1 changed files with 0 additions and 3 deletions
|
|
@ -76,16 +76,13 @@ jobs:
|
|||
const className = toCamelCase(cardData[0].replace(/[+]/g, ' Plus ').replace(/[_]+/g, ' Blank ')).replace(/[-+,'.!?`@#$%^&*()_=<>:";~\\|/\s]/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`);
|
||||
console.log("Checking if file exists in: ",cardPath);
|
||||
if (fs.existsSync(cardPath)) {
|
||||
console.log("File found!");
|
||||
implemented.push({
|
||||
pr: false, //TODO: check to see if there is a PR for this card
|
||||
name: cardData[0],
|
||||
scryfall: `https://scryfall.com/search?q=!"${cleanCardName}" e:${set[1]}`
|
||||
});
|
||||
} else {
|
||||
console.log("File not found!");
|
||||
unimplemented.push({
|
||||
pr: true, //TODO: check to see if there is a PR for this card
|
||||
name: cardData[0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue