Skip to content

Commit

Permalink
fix(tty): ReadStream depend on node:net
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Jan 17, 2025
1 parent 4a6aeb2 commit 6b38449
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/runtime/node/tty/internal/read-stream.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type tty from "node:tty";
// Relative net import required, see https://github.com/unjs/unenv/issues/353
import { Socket } from "../../net";
import { Socket } from "node:net";

export class ReadStream extends Socket implements tty.ReadStream {
fd: number;
Expand Down

0 comments on commit 6b38449

Please sign in to comment.