From 82a17dad11f415a3ef31484f3511abc1de5a61ee Mon Sep 17 00:00:00 2001 From: Steven Guerrero Date: Tue, 6 Oct 2020 19:31:36 -0500 Subject: docs: fix deno.land/manual example and clarify linting of code (#7842) Fixes #7841 --- docs/examples/read_write_files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/read_write_files.md') 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")); -- cgit v1.2.3