From 8ff4e4186374cf9760c32b8df9548918abc73458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20Sj=C3=B6green?= Date: Sat, 9 Mar 2024 16:43:33 +0100 Subject: [PATCH] fix: fmt --- writables/std.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/writables/std.ts b/writables/std.ts index 4f4b77d..3571d27 100644 --- a/writables/std.ts +++ b/writables/std.ts @@ -47,7 +47,7 @@ export class StdWritableStream extends WritableStream { write: async (chunk) => { await globalThis.Deno[stream].write(chunk); }, - } + }; break; case "bun": // Once https://github.com/oven-sh/bun/issues/3927 is completed we can use the node code for bun. @@ -66,7 +66,9 @@ export class StdWritableStream extends WritableStream { case "unknown": { const decoder = new TextDecoder(); let buffer = ""; - const write = stream === "stdout" ? originalConsole.log : originalConsole.error; + const write = stream === "stdout" + ? originalConsole.log + : originalConsole.error; sink = { write: (chunk) => {