summaryrefslogtreecommitdiff
path: root/docs/getting_started/permissions.md
diff options
context:
space:
mode:
authorTomofumi Chiba <tomofumi.chiba@gmail.com>2020-06-11 09:24:41 +0900
committerGitHub <noreply@github.com>2020-06-10 20:24:41 -0400
commita1b37f177be848ce3c3248b6b835f8999e36afff (patch)
tree879a8956abe9069bd72da0249908ae74a8781ce9 /docs/getting_started/permissions.md
parente4e332abbbe0dbdb44305a261f9965ba89e7767b (diff)
fixed double prompt in manual (#6230)
Diffstat (limited to 'docs/getting_started/permissions.md')
-rw-r--r--docs/getting_started/permissions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/getting_started/permissions.md b/docs/getting_started/permissions.md
index 317d85046..7b1eac693 100644
--- a/docs/getting_started/permissions.md
+++ b/docs/getting_started/permissions.md
@@ -57,7 +57,7 @@ error: Uncaught PermissionDenied: read access to "/etc/passwd", run again with t
Try it out again with the correct permissions by whitelisting `/etc` instead:
```shell
-$ deno run --allow-read=/etc https://deno.land/std/examples/cat.ts /etc/passwd
+deno run --allow-read=/etc https://deno.land/std/examples/cat.ts /etc/passwd
```
`--allow-write` works the same as `--allow-read`.
@@ -73,7 +73,7 @@ const result = await fetch("https://deno.land/");
This is an example on how to whitelist hosts/urls:
```shell
-$ deno run --allow-net=github.com,deno.land fetch.ts
+deno run --allow-net=github.com,deno.land fetch.ts
```
If `fetch.ts` tries to establish network connections to any other domain, the
@@ -82,5 +82,5 @@ process will fail.
Allow net calls to any host/url:
```shell
-$ deno run --allow-net fetch.ts
+deno run --allow-net fetch.ts
```