Skip to content

Commit a7f526f

Browse files
committed
READABLE_STREAM=disable works also with writable.js
1 parent f81f716 commit a7f526f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

writable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ var Writable = require("./lib/_stream_writable.js")
33

44
if (process.env.READABLE_STREAM === 'disable') {
55
module.exports = Stream && Stream.Writable || Writable
6+
} else {
7+
module.exports = Writable
68
}
7-
8-
module.exports = Writable

0 commit comments

Comments
 (0)