mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 20:32:22 +03:00
Indent all release note lines for each PR
This commit is contained in:
parent
a69144911f
commit
04355215b2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user