doc: fix misaligned options in vm.compileFunction() · nodejs/node@0d3ec1a · GitHub
Skip to content

Commit 0d3ec1a

Browse files
hkleungaiaduh95
authored andcommitted
doc: fix misaligned options in vm.compileFunction()
Current alignment mislead doc reader into thinking `importModuleDynamically` is a separate positional param right next to `options`, which is incorrect and need to be fixed. This misalignment is introduced in a PR merged in Feb 2024. I belive this doc fix applies to node v20 and above. Refs: #51244 PR-URL: #58145 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 1f70baf commit 0d3ec1a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/api/vm.md

Lines changed: 7 additions & 7 deletions

0 commit comments

Comments
 (0)