diff --git a/lib/internal/modules/esm/hooks.js b/lib/internal/modules/esm/hooks.js index 78813322fde14e3..f690c99089d6c94 100644 --- a/lib/internal/modules/esm/hooks.js +++ b/lib/internal/modules/esm/hooks.js @@ -214,6 +214,8 @@ class Hooks { next, }); } + + return hooks; } /**