From acfd9fbfea9381d2f2434c13158329f91f46a34c Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Fri, 9 Oct 2020 22:44:51 -0400 Subject: [PATCH] changelog: fixup note.tmpl syntax --- .changelog/note.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changelog/note.tmpl b/.changelog/note.tmpl index c9adcaa060..34d050be56 100644 --- a/.changelog/note.tmpl +++ b/.changelog/note.tmpl @@ -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 -}}