setup-node/node_modules/readable-stream/writable.js
Danny McCormick c3f0a8be66 Use husky
2019-06-05 11:34:47 -04:00

9 lines
229 B
JavaScript

var Stream = require("stream")
var Writable = require("./lib/_stream_writable.js")
if (process.env.READABLE_STREAM === 'disable') {
module.exports = Stream && Stream.Writable || Writable
} else {
module.exports = Writable
}