diff options
author | Samrith Shankar <samrith-s@users.noreply.github.com> | 2020-03-20 14:38:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 09:38:34 -0400 |
commit | 798904b0f2ed0c7284b67bba2f125f406b5850de (patch) | |
tree | 5aba8d35aa8984aa778c894258bcaed56f1ce17c /std/encoding/yaml/example/sample_document.ts | |
parent | 35f6e2e45ddb96524a6bdf54b0a6155caa88d5e0 (diff) |
Add require-await lint rule (#4401)
Diffstat (limited to 'std/encoding/yaml/example/sample_document.ts')
-rw-r--r-- | std/encoding/yaml/example/sample_document.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); |