Skip to content

Commit 66c64e5

Browse files
committed
Fix missing newline at end of file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
1 parent bcb2b38 commit 66c64e5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ func renderLogAndGetVersion(newVersion *semVer, logs []commit) (*semVer, error)
218218
return nil, fmt.Errorf("rendering log: %w", err)
219219
}
220220

221-
// Strip whitespaces on start / end
222-
c = bytes.TrimSpace(c)
223-
224221
if err = os.WriteFile(cfg.ChangelogFile, c, fileModeChangelog); err != nil {
225222
return nil, fmt.Errorf("writing changelog: %w", err)
226223
}

0 commit comments

Comments
 (0)