From 8f8d47fbcb6d047763f16cc34ba52af3ac7ca88f 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 --- 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.