diff --git a/index.js b/index.js index fcd4493..b64082d 100644 --- a/index.js +++ b/index.js @@ -36,7 +36,7 @@ async function run () { const newString = substring.slice(3) return `**${newString}**` }) - .replace(/(\r\n|\n|\r)/gm, "\n") + .replace(/\n\s*\n/g, '\n') const embedMsg = { title: `Release ${content.version}`,