Skip to content

Commit

Permalink
READABLE_STREAM=disable works also with writable.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jun 21, 2017
1 parent f81f716 commit a7f526f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions writable.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ var Writable = require("./lib/_stream_writable.js")

if (process.env.READABLE_STREAM === 'disable') {
module.exports = Stream && Stream.Writable || Writable
} else {
module.exports = Writable
}

module.exports = Writable

0 comments on commit a7f526f

Please sign in to comment.