doc: document that module.evaluate fulfills as undefined

Fixes: https://github.com/nodejs/node/issues/37453
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/37663
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
James M Snell authored and Michaël Zasso committed 2021-05-01 12:25:19 +02:00
1 parent e29905441e
commit 5ef2a8de25
1 file changed
+1 -1
+1 -1
View File
@@ -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.