From c63fda762413865cfa126f30fb8d37063f4e85ac Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 22 Sep 2022 17:08:00 +0200 Subject: [PATCH] add merged attributes --- build-qa-doc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-qa-doc.js b/build-qa-doc.js index dc69afb8f3..3d364983e1 100644 --- a/build-qa-doc.js +++ b/build-qa-doc.js @@ -3,11 +3,13 @@ const fs = require('fs') let value = fs.readFileSync('./done.json') value = JSON.parse(value) const inDone = value.data.search.edges[0].node.project.columns.edges[0].node.cards.edges -let data = +let data = '' console.log(inDone.length, 'issues/Prs\n') data = inDone.length + ' issues/Prs\n' for (let card of inDone) { + if (card.node.content.url && card.node.content.merged !== false) { data += `${card.node.content.title} - ${card.node.content.url}\n` + } } console.log('done.txt updated') @@ -58,6 +60,7 @@ fs.writeFileSync('./done.txt', data) id number title + merged } } }