From aed00d7d68b45b0d26207301ecd840ade548885f Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 13 Jan 2020 21:18:01 -0500 Subject: [PATCH] doc: add missing code formatting in vm.md This commit adds missing code formatting in a few places in the vm module documentation. PR-URL: https://github.com/nodejs/node/pull/31350 Reviewed-By: Gus Caplan Reviewed-By: Rich Trott Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca --- doc/api/vm.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/vm.md b/doc/api/vm.md index 57109f143a0f4d..db14e0abe475fa 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -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 @@ -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