diff --git a/.github/actions/update-changelog/main.js b/.github/actions/update-changelog/main.js index 5bfc05eedc..f8f78eca4c 100644 --- a/.github/actions/update-changelog/main.js +++ b/.github/actions/update-changelog/main.js @@ -31,7 +31,7 @@ async function main() { newChangelog = changelog.replace( INSERTION_POINT, - newChangelog.length ? INSERTION_POINT + "\n" + newChangelog : INSERTION_POINT + INSERTION_POINT + "\n" + newChangelog ); await fs.writeFile(CHANGELOG_PATH, newChangelog);