Skip to content

Commit 4ee9915

Browse files
committed
resolving merge conflict
1 parent f59bb7b commit 4ee9915

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/internal/fs/promises.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,6 @@ class FileHandle extends EventEmitter {
282282
this[kHandle],
283283
undefined,
284284
{ ondone: () => this[kUnref]() });
285-
const {
286-
readableStreamCancel,
287-
} = require('internal/webstreams/readablestream');
288-
this[kRef]();
289-
this.once('close', () => {
290-
readableStreamCancel(readable);
291-
});
292285
} else {
293286
const {
294287
readableStreamCancel,

0 commit comments

Comments
 (0)