Skip to content

Commit

Permalink
simplify unnecessary type test that I added during debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
David Herman committed Dec 9, 2023
1 parent 2f48d86 commit 71158aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/create-neon/dev/expect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71158aa

Please sign in to comment.