From 414f2bcb1db7793defb250ff0b9a068b73a4fdac Mon Sep 17 00:00:00 2001 From: fathi Date: Thu, 28 Apr 2022 22:27:40 +1000 Subject: [PATCH] newline fix --- dist/index.js | 4 ++-- index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 30fb5d1..31f72a5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -54617,10 +54617,10 @@ try { for (var key in releaseNoteMap) { releaseNote.push(""); releaseNote.push(`### ${key.toUpperCase()}`); - releaseNote.push(releaseNoteMap[key].join("\\n")); + releaseNote.push(releaseNoteMap[key].join("\n")); } releaseNote.push(""); - return releaseNote.join("\\n"); + return releaseNote.join("\n"); } if(!issueKeys || issueKeys.length == 0) diff --git a/index.js b/index.js index 83a8ed1..a4208cb 100644 --- a/index.js +++ b/index.js @@ -81,10 +81,10 @@ try { for (var key in releaseNoteMap) { releaseNote.push(""); releaseNote.push(`### ${key.toUpperCase()}`); - releaseNote.push(releaseNoteMap[key].join("\\n")); + releaseNote.push(releaseNoteMap[key].join("\n")); } releaseNote.push(""); - return releaseNote.join("\\n"); + return releaseNote.join("\n"); } if(!issueKeys || issueKeys.length == 0)