From ba0e913ab7fbcba71267a7487086040fba17f5e5 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 8 Oct 2024 12:38:36 -0600 Subject: [PATCH] fix: use Stream wrapper class --- src/table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table.tsx b/src/table.tsx index 366ae4b..0d54e32 100644 --- a/src/table.tsx +++ b/src/table.tsx @@ -408,7 +408,7 @@ class Output { public stream: Stream | WriteStream public constructor(fd = 1) { - this.stream = process.env.NODE_ENV === 'test' ? process.stdout : new WriteStream(fd) + this.stream = process.env.NODE_ENV === 'test' ? process.stdout : new Stream(fd) } public maybePrintLastFrame() {