From b463c5ad867a9fa71ab096ab3326c84d84e7e8ea Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Sun, 25 Jun 2017 08:29:58 -0600 Subject: [PATCH] releaser: Remove trailing space in fixes list --- releaser/releasenotes_writer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releaser/releasenotes_writer.go b/releaser/releasenotes_writer.go index bb057324a..9dbdf61a8 100644 --- a/releaser/releasenotes_writer.go +++ b/releaser/releasenotes_writer.go @@ -103,9 +103,9 @@ Hugo now has: {{ define "change-section" }} {{ range . }} {{- if .GitHubCommit -}} -* {{ .Subject }} {{ . | commitURL }} {{ . | authorURL }} {{ range .Issues }}{{ . | issue }} {{ end }} +* {{ .Subject }} {{ . | commitURL }} {{ . | authorURL }} {{ range .Issues }}{{ . | issue }}{{ end }} {{ else -}} -* {{ .Subject }} {{ range .Issues }}{{ . | issue }} {{ end }} +* {{ .Subject }} {{ range .Issues }}{{ . | issue }}{{ end }} {{ end -}} {{- end }} {{ end }}