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:
parent
b7ee97c54c
commit
0dbd678f39
@ -142,7 +142,7 @@ async function updateChangelog({
|
||||
.getReleases()
|
||||
.find((release) => release.version === currentVersion)
|
||||
) {
|
||||
changelog.addRelease({ currentVersion });
|
||||
changelog.addRelease({ version: currentVersion });
|
||||
}
|
||||
|
||||
if (isReleaseCandidate && hasUnreleasedChanges) {
|
||||
|
Loading…
Reference in New Issue
Block a user