1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

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.
This commit is contained in:
Mark Stacey 2021-04-09 20:50:06 -02:30 committed by GitHub
parent b7ee97c54c
commit 0dbd678f39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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