Browse Source

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: https://github.com/nodejs/node/pull/9481
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v7.x
Daniel Bevenius 8 years ago
committed by Myles Borins
parent
commit
f0d40e8be3
  1. 3
      doc/api/vm.md

3
doc/api/vm.md

@ -297,7 +297,7 @@ console.log(Debug.findScript(process.exit).name); // 'internal/process.js'
implementation and may change (or even be removed) without prior warning.
The `Debug` object can also be made available using the V8-specific
`--expose_debug_as=` [command line option][cli.md].
`--expose_debug_as=` [command line option][].
## vm.runInNewContext(code[, sandbox][, options])
<!-- YAML
@ -455,3 +455,4 @@ associating it with the `sandbox` object is what this document refers to as
[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
[V8 Embedder's Guide]: https://developers.google.com/v8/embed#contexts
[contextified]: #vm_what_does_it_mean_to_contextify_an_object
[command line option]: cli.html

Loading…
Cancel
Save