mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
Update update-set-implementation-lists.yml
This commit is contained in:
parent
267fe6c296
commit
cfc07e90d4
1 changed files with 9 additions and 1 deletions
|
|
@ -136,7 +136,15 @@ jobs:
|
||||||
|
|
||||||
if (body.length > 65536) {
|
if (body.length > 65536) {
|
||||||
console.log(`Issue body for ${set[0]} (${set[1]}) too long! Length: ${body.length}`);
|
console.log(`Issue body for ${set[0]} (${set[1]}) too long! Length: ${body.length}`);
|
||||||
console.log(`${body}`);
|
const trimmedBody = mustache.render(cardIssueTemplate, {
|
||||||
|
hasUnimplementedCards: unimplemented.length > 0,
|
||||||
|
hasImplementedCards: implemented.length > 0,
|
||||||
|
unimplementedCards: unimplemented,
|
||||||
|
implementedCards: implemented,
|
||||||
|
unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}`
|
||||||
|
}).replaceAll("--", "-").replaceAll("https://", "").replaceAll(`+e${set[1]}`, "");
|
||||||
|
console.log(`Trimmed body length: ${trimmedBody.length}`);
|
||||||
|
console.log(`${trimmedBody}`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue