diff options
author | champ <champion.ge@gmail.com> | 2019-05-23 15:47:11 +0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-23 10:47:11 +0300 |
commit | 1386b6ead586da15d0285941f2d980acc1d75eee (patch) | |
tree | 46cce2ef33e923280e439472ace707e1cbbf150a | |
parent | 7d03a63dedac6c0509655248107dcfb8b3142442 (diff) |
Fix examples in manual (#2396)
-rw-r--r-- | website/manual.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/website/manual.md b/website/manual.md index 9ef767a74..5a25fc8ef 100644 --- a/website/manual.md +++ b/website/manual.md @@ -326,6 +326,7 @@ const { permissions, revokePermission, open, remove } = Deno; revokePermission("write"); // use the log file + const encoder = new TextEncoder(); await log.write(encoder.encode("hello\n")); // this will prompt for the write permission or fail. @@ -428,6 +429,7 @@ async function main() { const p = Deno.run({ args: [ "deno", + "run", "--allow-read", "https://deno.land/std/examples/cat.ts", ...fileNames |