v3 new release (#80)
This commit is contained in:
committed by
GitHub
parent
a767c8d3a1
commit
20d2b4f98d
7
node_modules/set-blocking/index.js
generated
vendored
Normal file
7
node_modules/set-blocking/index.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
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)
|
||||
}
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user