Skip to content

Commit

Permalink
doc: add missing code formatting in vm.md
Browse files Browse the repository at this point in the history
This commit adds missing code formatting in a few places in
the vm module documentation.

PR-URL: #31350
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
cjihrig authored and MylesBorins committed Jan 16, 2020
1 parent 6534c6c commit aed00d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ added: v10.6.0

* Returns: {Buffer}

Creates a code cache that can be used with the Script constructor's
`cachedData` option. Returns a Buffer. This method may be called at any
Creates a code cache that can be used with the `Script` constructor's
`cachedData` option. Returns a `Buffer`. This method may be called at any
time and any number of times.

```js
Expand Down Expand Up @@ -632,8 +632,8 @@ added: REPLACEME
* Returns: {Buffer}
Creates a code cache that can be used with the SourceTextModule constructor's
`cachedData` option. Returns a Buffer. This method may be called any number
Creates a code cache that can be used with the `SourceTextModule` constructor's
`cachedData` option. Returns a `Buffer`. This method may be called any number
of times before the module has been evaluated.

```js
Expand Down

0 comments on commit aed00d7

Please sign in to comment.