Skip to content

Commit

Permalink
doc: fix link to cli.md in vm.md
Browse files Browse the repository at this point in the history
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 <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
danbev authored and Myles Borins committed Nov 15, 2016
1 parent 1b79274 commit 4f25236
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 4f25236

Please sign in to comment.