From a73fafb5cb84c2ebf57e91155aa90e2cd5bf953e Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Fri, 15 May 2026 00:20:00 +0200 Subject: [PATCH] doc: reference correct function in Module docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robin Malfait PR-URL: https://github.com/nodejs/node/pull/63247 Reviewed-By: René Reviewed-By: Luigi Pinca --- doc/api/module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/module.md b/doc/api/module.md index 7f47ab0b55e..5ab07802e05 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -1020,7 +1020,7 @@ function load(url, context, nextLoad) { }; } -registerHooks({ resolve }); +registerHooks({ load }); ``` In a more advanced scenario, this can also be used to transform an unsupported