Update update-set-implementation-lists.yml

This commit is contained in:
ExpensiveKoala 2024-09-29 13:39:22 -07:00 committed by GitHub
parent 267fe6c296
commit cfc07e90d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,7 +136,15 @@ jobs:
if (body.length > 65536) {
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;
}