diff --git a/.github/scripts/update-release-notes.js b/.github/scripts/update-release-notes.js index 4d262888f9..3131556c8c 100644 --- a/.github/scripts/update-release-notes.js +++ b/.github/scripts/update-release-notes.js @@ -118,9 +118,9 @@ var reqGet = https.request(options, function(res) { if (releaseFileContainsLineStartWith(dateLine) == true) { const existingDateLine = contentArray.indexOf(dateLine); - contentArray.splice(existingDateLine + 1,0,"",`### Android BOM ${version}`, "",updateBOMReleaseNotesForAdobeIO(releaseNotes)); + contentArray.splice(existingDateLine + 1,0,"",`### Android BOM ${version}`, "",updateBOMReleaseNotesForAdobeIO(releaseNotes)); } else { - contentArray.splice(releaseNotesHeaderIndex + 1,0,"",dateLine,"",`### Android BOM ${version}`, "",updateBOMReleaseNotesForAdobeIO(releaseNotes)); + contentArray.splice(releaseNotesHeaderIndex + 1,0,"",dateLine,"",`### Android BOM ${version}`, "",updateBOMReleaseNotesForAdobeIO(releaseNotes)); } fs.writeFile(releaseMdPath, contentArray.join("\n"), function (err) {