summaryrefslogtreecommitdiff
path: root/prettier/main_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-05-30 14:59:30 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-05-30 08:59:30 -0400
commit50a79584cb12129b3db1ef3e0eb9d0c8b9f20b62 (patch)
treeee9a90a8b8018c03b1e1a6ace07abdaa494ea90d /prettier/main_test.ts
parent80b3c486f6222f65b52eb2eca903b67312e8ce0c (diff)
chore: Implement strict mode (denoland/deno_std#453)
Original: https://github.com/denoland/deno_std/commit/be24677d15494e83eea2e99bfc5ccfdde31cb892
Diffstat (limited to 'prettier/main_test.ts')
-rw-r--r--prettier/main_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/prettier/main_test.ts b/prettier/main_test.ts
index 86d6a75a5..bbd7f4bc1 100644
--- a/prettier/main_test.ts
+++ b/prettier/main_test.ts
@@ -13,7 +13,7 @@ async function run(
): Promise<{ stdout: string; code: number | undefined }> {
const p = xrun({ args, stdout: "piped" });
- const stdout = decoder.decode(await readAll(p.stdout));
+ const stdout = decoder.decode(await readAll(p.stdout!));
const { code } = await p.status();
return { stdout, code };