diff options
Diffstat (limited to 'tpl/debug/debug.go')
-rw-r--r-- | tpl/debug/debug.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tpl/debug/debug.go b/tpl/debug/debug.go index ae1acf5eb..fd676f0e2 100644 --- a/tpl/debug/debug.go +++ b/tpl/debug/debug.go @@ -41,7 +41,7 @@ func New(d *deps.Deps) *Namespace { l := d.Log.InfoCommand("timer") - d.BuildEndListeners.Add(func() { + d.BuildEndListeners.Add(func(...any) bool { type data struct { Name string Count int @@ -84,6 +84,8 @@ func New(d *deps.Deps) *Namespace { } ns.timers = make(map[string][]*timer) + + return false }) return ns |