From 60d8afa9aba438c5cc034ffc1a8b042a8c0f60a4 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 8 Mar 2021 16:44:48 -0800 Subject: [PATCH] doc: document that module.evaluate fulfills as undefined Fixes: https://github.com/nodejs/node/issues/37453 Signed-off-by: James M Snell PR-URL: https://github.com/nodejs/node/pull/37663 Reviewed-By: Gus Caplan Reviewed-By: Darshan Sen --- doc/api/vm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/vm.md b/doc/api/vm.md index 8b27eedb625042..6c9c6e43d5eca8 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -587,7 +587,7 @@ in the ECMAScript specification. [`Error`][]. Existing handlers for the event that have been attached via `process.on('SIGINT')` are disabled during script execution, but continue to work after that. **Default:** `false`. -* Returns: {Promise} +* Returns: {Promise} Fulfills with `undefined` upon success. Evaluate the module.