diff --git a/scripts/templates/changelog.ejs b/scripts/templates/changelog.ejs index 70732ed19ca2..a104c351f9b7 100644 --- a/scripts/templates/changelog.ejs +++ b/scripts/templates/changelog.ejs @@ -77,7 +77,7 @@ continue; } - scopeCommits.sort((a, b) => a.type - b.type); + scopeCommits.sort((a,b) => a.type > b.type ? 1 : -1); %>