From 71158aabcdd068a12954d2a40dbe511b06997cb5 Mon Sep 17 00:00:00 2001 From: David Herman Date: Sat, 9 Dec 2023 02:04:18 -0800 Subject: [PATCH] simplify unnecessary type test that I added during debugging --- pkgs/create-neon/dev/expect.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/create-neon/dev/expect.ts b/pkgs/create-neon/dev/expect.ts index 1a4e1a751..9cd96b572 100644 --- a/pkgs/create-neon/dev/expect.ts +++ b/pkgs/create-neon/dev/expect.ts @@ -10,8 +10,7 @@ function readChunks(input: Readable): Readable { output.write(decoder.write(data)); }); input.on("close", () => { - let end = decoder.end(); - output.write(end || ""); + output.write(decoder.end()); output.end(); }); return output;