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
ae416c8c8b
commit
23af8d407e
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
const cardsData = fs.readFileSync(path.join('Utils', 'mtg-cards-data.txt'), 'utf8')
|
||||
.split('\n')
|
||||
.map(line => line.split('|'));
|
||||
const cardIssueTemplate = fs.readFileSync(path.join('.github', 'templates', 'set-tracking-issue.md'));
|
||||
const cardIssueTemplate = fs.readFileSync(path.join('.github', 'templates', 'set-tracking-issue.md'), 'utf8');
|
||||
|
||||
const issues = await github.paginate(github.rest.issues.listForRepo, {
|
||||
owner: context.repo.owner,
|
||||
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
}
|
||||
});
|
||||
const cleanCards = cards.map(card => card[0].replace(/[-,'.!?`@#$%^&*()_=<>:";~\\|/\s]/g, '').toLowerCase());
|
||||
if(foundIssue !== undefined) {
|
||||
if (foundIssue !== undefined) {
|
||||
foundIssue.body = mustache.render(cardIssueTemplate, {
|
||||
hasUnimplementedCards: unimplemented.length > 0,
|
||||
hasImplementedCards: implemented.length > 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue