changelog: fixup note.tmpl syntax

This commit is contained in:
Mike Morris 2020-10-09 22:44:51 -04:00
parent 87278a739b
commit aacf1fbeab
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
{{- define "note" -}}
{{.Body}}{{if not stringHasPrefix .Issue "_"}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]{{end}}
{{.Body}}{{if not (stringHasPrefix .Issue "_")}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]{{end}}
{{- end -}}