From 8165bbc4f3942c858fe2d9a49745694cd3c153e2 Mon Sep 17 00:00:00 2001 From: ExpensiveKoala Date: Sat, 24 Jun 2023 01:07:01 -0700 Subject: [PATCH] Update update-set-implementation-lists.yml --- .github/workflows/update-set-implementation-lists.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-set-implementation-lists.yml b/.github/workflows/update-set-implementation-lists.yml index 59e999c832e..13aaa20747b 100644 --- a/.github/workflows/update-set-implementation-lists.yml +++ b/.github/workflows/update-set-implementation-lists.yml @@ -73,12 +73,14 @@ jobs: implemented.push({ pr: false, //TODO: check to see if there is a PR for this card name: cardData[0], + cleanName: cleanCardName, scryfall: `https://scryfall.com/search?q=!"${cleanCardName}" e:${set[1]}` }); } else { unimplemented.push({ pr: true, //TODO: check to see if there is a PR for this card name: cardData[0], + cleanName: cleanCardName, scryfall: `https://scryfall.com/search?q=!"${cleanCardName}" e:${set[1]}` }); } @@ -90,7 +92,7 @@ jobs: hasImplementedCards: implemented.length > 0, unimplementedCards: unimplemented, implementedCards: implemented, - unimplementedScryfallLink: `https://scryfall.com/search?q=!"${cleanCards.join('"OR!"')}"+e:${set[1]}` + unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}` }); issuesToUpdate.push(foundIssue); } else { @@ -101,7 +103,7 @@ jobs: hasImplementedCards: implemented.length > 0, unimplementedCards: unimplemented, implementedCards: implemented, - unimplementedScryfallLink: `https://scryfall.com/search?q=!"${cleanCards.join('"OR!"')}"+e:${set[1]}` + unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}` }) }); }