mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Update update-set-implementation-lists.yml
This commit is contained in:
parent
0d7cb43590
commit
ed00793fd5
1 changed files with 2 additions and 2 deletions
|
|
@ -73,9 +73,9 @@ jobs:
|
|||
const implemented = [];
|
||||
|
||||
cards.forEach(cardData => {
|
||||
const className = toCamelCase(cardData[0]);
|
||||
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}.java`);
|
||||
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!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue