summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorSteven Guerrero <stephenguerrero43@gmail.com>2020-10-06 19:31:36 -0500
committerGitHub <noreply@github.com>2020-10-07 11:31:36 +1100
commit82a17dad11f415a3ef31484f3511abc1de5a61ee (patch)
treed7fa293325f5435533499a50753d6369b96b1407 /docs/examples
parent21965e8a964a98284bf41f1502cde1c78f20c925 (diff)
docs: fix deno.land/manual example and clarify linting of code (#7842)
Fixes #7841
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/read_write_files.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/read_write_files.md b/docs/examples/read_write_files.md
index 0840c35d4..a53c2bcbe 100644
--- a/docs/examples/read_write_files.md
+++ b/docs/examples/read_write_files.md
@@ -68,7 +68,7 @@ command.
/**
* write.ts
*/
-const write = await Deno.writeTextFile("./hello.txt", "Hello World!");
+const write = Deno.writeTextFile("./hello.txt", "Hello World!");
write.then(() => console.log("File written to ./hello.txt"));