mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-24 13:39:27 +08:00
08d466b6ab
Co-authored-by: Oliver King <oking3@uncc.edu>
8 lines
252 B
JavaScript
8 lines
252 B
JavaScript
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)
|
|
}
|
|
})
|
|
}
|