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); } }