chore: add back the newline char

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-01-12 11:00:36 +01:00
parent 57ce85be71
commit 783537bb1a
@@ -35,7 +35,7 @@ jobs:
async function createChangeset(fileName, commitMessage, packages) {
const pkgs = packages.map(pkg => `'${pkg}': patch`).join('\n');
const message = commitMessage.replace(/([bB])ump ([\S]+)/, '$1ump `$2`').trim();
const body = `---\n${pkgs}\n---\n\n${message}`;
const body = `---\n${pkgs}\n---\n\n${message}\n`;
await fs.writeFile(fileName, body);
}