From af759c2a7e8ce56db6d1318d149fbd8583984116 Mon Sep 17 00:00:00 2001 From: Louis Thibault Date: Wed, 11 Sep 2024 20:02:56 -0400 Subject: [PATCH] Pass context to top-level event hook. --- cmd/internal/run/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/internal/run/run.go b/cmd/internal/run/run.go index 72ee74a..4358f7e 100644 --- a/cmd/internal/run/run.go +++ b/cmd/internal/run/run.go @@ -60,7 +60,7 @@ func run() cli.ActionFunc { defer h.Close() wetware := suture.New("ww", suture.Spec{ - EventHook: util.EventHook, + EventHook: util.EventHookWithContext(c.Context), }) for _, ns := range c.StringSlice("load") {