From 5ef2a8de254c044e46e9cd02e6e10808a1ebf69c 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 1dcf8e25159838..38cd874940c098 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.