Files
cssd-back/node_modules/set-blocking/index.js
T
2019-07-15 13:07:31 +04:30

8 lines
252 B
JavaScript
Vendored

module.exports = function (blocking) {
[process.stdout, process.stderr].forEach(function (stream) {
if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
stream._handle.setBlocking(blocking)
}
})
}