From 3b59a0df6269d7e53a73e7d59795ed16cccb08fa Mon Sep 17 00:00:00 2001 From: ExpensiveKoala Date: Sun, 29 Sep 2024 03:04:18 -0700 Subject: [PATCH] Update update-set-implementation-lists.yml --- .../workflows/update-set-implementation-lists.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-set-implementation-lists.yml b/.github/workflows/update-set-implementation-lists.yml index aaebafc76da..b5649b1c371 100644 --- a/.github/workflows/update-set-implementation-lists.yml +++ b/.github/workflows/update-set-implementation-lists.yml @@ -134,11 +134,13 @@ jobs: if (body.length > 65536) { console.log(`Issue body for ${set[0]} (${set[1]}) too long! Length: ${body.length}`); - const splitBody = splitter(body, 65536); - console.log(`Body was split into ${splitBody.length} chunks`); - splitBody.forEach(b => { - console.log(b.length); - }); + console.log("Shortened?: " + 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)` + }).length); //continue; }