From 2ed9ee2f0b2a85549ff60b178603a36d1d9403a1 Mon Sep 17 00:00:00 2001 From: Alan He Date: Tue, 12 Nov 2024 17:24:53 +0800 Subject: [PATCH] fix: support discussionCount display --- .github/workflows/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.js b/.github/workflows/main.js index c2ca374de..ff303ac18 100644 --- a/.github/workflows/main.js +++ b/.github/workflows/main.js @@ -50,7 +50,7 @@ async function updateHomeReadme(items) { const newReadmeContent = readmeContent .replace(/(?<=)[\s\S]*(?=)/, workflowsListStr) - .replace(/(?<=)[\s\S]+(?=)/, `${Numbers.toEmoji(111)}`); + .replace(/(?<=)[\s\S]+(?=)/, `${Numbers.toEmoji(discussionCount)}`); fs.writeFileSync(filePath, newReadmeContent); }