Skip to content

Commit

Permalink
Pass context to top-level event hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed Sep 12, 2024
1 parent f8975f8 commit af759c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/internal/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit af759c2

Please sign in to comment.