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 Danielle Adams committed 2021-03-16 08:55:29 -04:00
1 parent 013b3ff2d4
commit 60d8afa9ab
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.