Skip to content

Commit

Permalink
Ensure consistent spacing
Browse files Browse the repository at this point in the history
The reordering cause extra new lines to be output in existing
changelogs.

Make the template consistent accross each section to fix the issue.
  • Loading branch information
smortex committed Sep 28, 2023
1 parent 63e953f commit 76801e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/writer/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
{{range .Deprecated}}
- {{.}}
{{- end}}
{{- end}}
{{if .Added }}
{{end}}
{{- if .Added }}
### Added
{{range .Added}}
- {{.}}
Expand Down

0 comments on commit 76801e2

Please sign in to comment.