Skip to content

Commit 2fafdc6

Browse files
authored
Merge pull request #18 from Songmu/newline-newmd
Insert a newline at the end of CHANGELOG.md when creating it
2 parents ccd31ea + 15d7e3b commit 2fafdc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (cli *CLI) Run(argv []string) int {
137137
}
138138
content = insertNewChangelog(byt, str)
139139
} else {
140-
content = "# Changelog\n\n" + str
140+
content = "# Changelog\n\n" + str + "\n"
141141
}
142142
err = ioutil.WriteFile(opts.changelogMd, []byte(content), 0644)
143143
if err != nil {

0 commit comments

Comments
 (0)