From 798904b0f2ed0c7284b67bba2f125f406b5850de Mon Sep 17 00:00:00 2001 From: Samrith Shankar Date: Fri, 20 Mar 2020 14:38:34 +0100 Subject: Add require-await lint rule (#4401) --- std/encoding/yaml/example/sample_document.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/encoding/yaml') diff --git a/std/encoding/yaml/example/sample_document.ts b/std/encoding/yaml/example/sample_document.ts index c9372e8ec..da969d679 100644 --- a/std/encoding/yaml/example/sample_document.ts +++ b/std/encoding/yaml/example/sample_document.ts @@ -5,7 +5,7 @@ import { parse } from "../../yaml.ts"; const { readFileSync, cwd } = Deno; -(async () => { +(() => { const yml = readFileSync(`${cwd()}/example/sample_document.yml`); const document = new TextDecoder().decode(yml); -- cgit v1.2.3