Indent all release note lines for each PR

This commit is contained in:
Joseph Lyons 2023-05-22 14:44:05 -04:00
parent a69144911f
commit 04355215b2

View File

@ -69,9 +69,12 @@ async function main() {
let releaseNotes = (pullRequest.body || "").split("Release Notes:")[1];
if (releaseNotes) {
releaseNotes = releaseNotes.trim();
releaseNotes = releaseNotes.trim().split("\n")
console.log(" Release Notes:");
console.log(` ${releaseNotes}`);
for (const line of releaseNotes) {
console.log(` ${line}`);
}
}
console.log()