From a1b37f177be848ce3c3248b6b835f8999e36afff Mon Sep 17 00:00:00 2001 From: Tomofumi Chiba Date: Thu, 11 Jun 2020 09:24:41 +0900 Subject: fixed double prompt in manual (#6230) --- docs/getting_started/permissions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/getting_started') 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 ``` -- cgit v1.2.3