Skip to content

Commit 18981b0

Browse files
RafaelGSSTrott
andauthored
Apply suggestions from code review
Co-authored-by: Rich Trott <[email protected]>
1 parent b9cbde7 commit 18981b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ added: REPLACEME
280280
When using the [Permission Model][], the process will not be able to create any
281281
WASI instances by default.
282282
For security reasons, the call will throw an `ERR_ACCESS_DENIED` unless the
283-
user explicitly pass the flag `--allow-wasi` in the main Node.js process.
283+
user explicitly passes the flag `--allow-wasi` in the main Node.js process.
284284

285285
Example:
286286

doc/api/permissions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ flag.
482482

483483
When starting Node.js with `--experimental-permission`,
484484
the ability to access the file system through the `fs` module, spawn processes,
485-
use `node:worker_threads`, native addons, WASI, and enable the runtime inspector
485+
use `node:worker_threads`, use native addons, use WASI, and enable the runtime inspector
486486
will be restricted.
487487

488488
```console
@@ -507,7 +507,7 @@ Allowing access to spawning a process and creating worker threads can be done
507507
using the [`--allow-child-process`][] and [`--allow-worker`][] respectively.
508508

509509
To allow native addons when using permission model, use the [`--allow-addons`][]
510-
flag. For WASI, use the [`--allow-wasi`][]
510+
flag. For WASI, use the [`--allow-wasi`][] flag.
511511

512512
#### Runtime API
513513

doc/node.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Allow using native addons when using the permission model.
8989
Allow spawning process when using the permission model.
9090
.
9191
.It Fl -allow-wasi
92-
Allow creating WASI when using the permission model.
92+
Allow execution of WASI when using the permission model.
9393
.
9494
.It Fl -allow-worker
9595
Allow creating worker threads when using the permission model.

0 commit comments

Comments
 (0)