优化更新信息的展示

This commit is contained in:
yoimiya-kokomi 2022-04-28 03:13:08 +08:00
parent 054f84ff7d
commit 8de28631a1

View File

@ -31,9 +31,8 @@ try {
return; return;
} }
if (versionCount > -1) { if (versionCount > -1) {
line = line.trim();
line = line.replace(/`/g, ""); line = line.replace(/`/g, "");
if (line) { if (line.trim()) {
changelogs.push(line); changelogs.push(line);
} }
} }