Skip to content

Commit

Permalink
doc: document that module.evaluate fulfills as undefined
Browse files Browse the repository at this point in the history
Fixes: #37453
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #37663
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
jasnell authored and danielleadams committed Mar 16, 2021
1 parent 013b3ff commit 60d8afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 60d8afa

Please sign in to comment.