chore(): generate correct change log (#20888)

This commit is contained in:
Liam DeBeasi
2020-03-30 11:53:37 -04:00
committed by GitHub
parent 8a161f053f
commit 9b534bd43f

View File

@ -100,7 +100,7 @@ function findChangelog() {
for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (line.startsWith('# [')) {
if (line.startsWith('## [') || line.startsWith('# [')) {
if (start === -1) {
start = i + 1;
} else {