tpl: Do not return any value in errorf

Fixes #6653
This commit is contained in:
Bjørn Erik Pedersen
2019-12-21 10:26:14 +01:00
parent 1773d71d5b
commit 50cc7fe545
3 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ func init() {
ns.AddMethodMapping(ctx.Errorf,
[]string{"errorf"},
[][2]string{
{`{{ errorf "%s." "failed" }}`, `failed.`},
{`{{ errorf "%s." "failed" }}`, ``},
},
)