diff options
author | Anthony Fok <[email protected]> | 2017-06-25 08:29:58 -0600 |
---|---|---|
committer | Anthony Fok <[email protected]> | 2017-06-25 08:29:58 -0600 |
commit | b463c5ad867a9fa71ab096ab3326c84d84e7e8ea (patch) | |
tree | c06443760bd41365c87834348c394e379b19389e /releaser | |
parent | 1a041522dff56b854b15ce4870c3b86e617d05db (diff) | |
download | hugo-b463c5ad867a9fa71ab096ab3326c84d84e7e8ea.tar.gz hugo-b463c5ad867a9fa71ab096ab3326c84d84e7e8ea.zip |
releaser: Remove trailing space in fixes list
Diffstat (limited to 'releaser')
-rw-r--r-- | releaser/releasenotes_writer.go | 4 |
1 files 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 }} |