Fix crash when adding new changelog release header (#10870)

The `auto-changelog.js` script crashes when trying to add a new release
header. This bug was introduced in #10847. The cause was a simple
misnamed parameter.
feature/default_network_editable
Mark Stacey 4 years ago committed by GitHub
parent b7ee97c54c
commit 0dbd678f39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      development/lib/changelog/updateChangelog.js

@ -142,7 +142,7 @@ async function updateChangelog({
.getReleases()
.find((release) => release.version === currentVersion)
) {
changelog.addRelease({ currentVersion });
changelog.addRelease({ version: currentVersion });
}
if (isReleaseCandidate && hasUnreleasedChanges) {

Loading…
Cancel
Save