summaryrefslogtreecommitdiffhomepage
path: root/tpl/transform/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/transform/init.go')
-rw-r--r--tpl/transform/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/transform/init.go b/tpl/transform/init.go
index 9e57c07f6..aa7297bc4 100644
--- a/tpl/transform/init.go
+++ b/tpl/transform/init.go
@@ -26,7 +26,7 @@ func init() {
ns := &internal.TemplateFuncsNamespace{
Name: name,
- Context: func(args ...interface{}) interface{} { return ctx },
+ Context: func(args ...interface{}) (interface{}, error) { return ctx, nil },
}
ns.AddMethodMapping(ctx.Emojify,