Skip to content

Commit 19ba6f4

Browse files
committed
Add newline to changelog after section header
1 parent 78430bd commit 19ba6f4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.changelog/01.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fix
2+
Add newline in changelog between header and first item

src/changelog-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export async function prepareRelease() {
5555
existingFiles.sort();
5656

5757
let versionBump = "";
58-
const newChangelogLines = [""];
58+
const newChangelogLines = ["\n"];
5959

6060
for (let existingFile of existingFiles) {
6161
const filePath = path.resolve(process.cwd(), ".changelog", existingFile);

0 commit comments

Comments
 (0)