From 66c64e5d89b9bc1a69313bf9375d11c8bebafab8 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 12 Nov 2023 13:10:39 +0100 Subject: [PATCH] Fix missing newline at end of file Signed-off-by: Knut Ahlers --- main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.go b/main.go index 5e855c0..9ed0d21 100644 --- a/main.go +++ b/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) }