Skip to content

Commit f72fa25

Browse files
aduh95RaisinTen
andauthored
fixup! stream: refactor to use more primordials
Co-authored-by: Darshan Sen <raisinten@gmail.com>
1 parent b93fda8 commit f72fa25

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/internal/streams/buffer_list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
const {
44
StringPrototypeSlice,
55
SymbolIterator,
6-
Uint8Array,
76
TypedArrayPrototypeSet,
7+
Uint8Array,
88
} = primordials;
99

1010
const { Buffer } = require('buffer');

lib/internal/streams/writable.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ ObjectDefineProperty(Writable, SymbolHasInstance, {
279279
},
280280
});
281281

282-
283282
// Otherwise people can pipe Writable streams, which is just wrong.
284283
Writable.prototype.pipe = function() {
285284
errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());

0 commit comments

Comments
 (0)