mirror of
https://github.com/azure/setup-kubectl.git
synced 2026-12-01 19:31:54 +00:00
7ad2aa66bb
Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
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)
|
|
}
|
|
})
|
|
}
|