From 8de28631a1efaffffa25dda452e34d2992e4b4b2 Mon Sep 17 00:00:00 2001 From: yoimiya-kokomi <592981798@qq.com> Date: Thu, 28 Apr 2022 03:13:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9B=B4=E6=96=B0=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=9A=84=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Changelog.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/Changelog.js b/components/Changelog.js index 7789564d..18ee14b9 100644 --- a/components/Changelog.js +++ b/components/Changelog.js @@ -31,9 +31,8 @@ try { return; } if (versionCount > -1) { - line = line.trim(); line = line.replace(/`/g, ""); - if (line) { + if (line.trim()) { changelogs.push(line); } }