Skip to content

Commit

Permalink
fix: use Stream wrapper class
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 8, 2024
1 parent a4d0adf commit ba0e913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ba0e913

Please sign in to comment.