Skip to content

Commit 4f25236

Browse files
danbevMyles Borins
authored and
Myles Borins
committed
doc: fix link to cli.md in vm.md
Looks like the link to cli.md is missing in vm.md: https://nodejs.org/api/vm.html#vm_vm_runindebugcontext_code Added the link which can be verified by using the following commands: $ make doc $ open out/doc/api/vm.html PR-URL: #9481 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 1b79274 commit 4f25236

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/vm.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ console.log(Debug.findScript(process.exit).name); // 'internal/process.js'
297297
implementation and may change (or even be removed) without prior warning.
298298

299299
The `Debug` object can also be made available using the V8-specific
300-
`--expose_debug_as=` [command line option][cli.md].
300+
`--expose_debug_as=` [command line option][].
301301

302302
## vm.runInNewContext(code[, sandbox][, options])
303303
<!-- YAML
@@ -455,3 +455,4 @@ associating it with the `sandbox` object is what this document refers to as
455455
[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
456456
[V8 Embedder's Guide]: https://developers.google.com/v8/embed#contexts
457457
[contextified]: #vm_what_does_it_mean_to_contextify_an_object
458+
[command line option]: cli.html

0 commit comments

Comments
 (0)