mirror of
https://github.com/Luzifer/git-changerelease.git
synced 2024-12-20 19:11:17 +00:00
Fix missing newline at end of file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
bcb2b3806d
commit
66c64e5d89
1 changed files with 0 additions and 3 deletions
3
main.go
3
main.go
|
@ -218,9 +218,6 @@ func renderLogAndGetVersion(newVersion *semVer, logs []commit) (*semVer, error)
|
|||
return nil, fmt.Errorf("rendering log: %w", err)
|
||||
}
|
||||
|
||||
// Strip whitespaces on start / end
|
||||
c = bytes.TrimSpace(c)
|
||||
|
||||
if err = os.WriteFile(cfg.ChangelogFile, c, fileModeChangelog); err != nil {
|
||||
return nil, fmt.Errorf("writing changelog: %w", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue