Skip to content

Commit

Permalink
fix(files): content closing (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera authored Feb 8, 2023
1 parent 968cdab commit 9982516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const updateChangelog = (
}

const updatedBody = `## ${version} (${systemTimestamp})\n${displayCommits}`;
const output = `${header}\n\n${updatedBody}\n${body}`;
const output = `${header}\n\n${updatedBody}\n${body}${(body && '\n') || ''}`;

if (isDryRun) {
console.info(`\n${updatedBody}`);
Expand Down

0 comments on commit 9982516

Please sign in to comment.