From 348060ad1736040491e06c461217532effa92002 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 c9adcaa06..34d050be5 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 -}}