Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Lewis <DerekNonGeneric@inf.is>2020-05-22 09:33:40 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2020-05-25 20:08:45 +0300
commit549812a9a0a697dbc41d7669fba649bf37b50b83 (patch)
tree960c98b652347f337e30c72ada497af9fac1fd69 /doc/api/policy.md
parente278e3176ac460fc555834cbec2406d3c7334ef6 (diff)
doc: normalize Bash code block info strings
Prior to this commit, Bash fenced code blocks in Markdown files had inconsistent info strings. This has been corrected to standardize on the less-obscure variant. PR-URL: https://github.com/nodejs/node/pull/33510 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/policy.md')
-rw-r--r--doc/api/policy.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/policy.md b/doc/api/policy.md
index 35ea48b40b4..e7ccbaa9db0 100644
--- a/doc/api/policy.md
+++ b/doc/api/policy.md
@@ -31,7 +31,7 @@ when loading modules.
Once this has been set, all modules must conform to a policy manifest file
passed to the flag:
-```sh
+```bash
node --experimental-policy=policy.json app.js
```
@@ -43,7 +43,7 @@ the policy file itself may be provided via `--policy-integrity`.
This allows running `node` and asserting the policy file contents
even if the file is changed on disk.
-```sh
+```bash
node --experimental-policy=policy.json --policy-integrity="sha384-SggXRQHwCG8g+DktYYzxkXRIkTiEYWBHqev0xnpCxYlqMBufKZHAHQM3/boDaI/0" app.js
```