mirror of
https://github.com/Azure/setup-helm.git
synced 2026-07-06 00:11:37 +00:00
a517f2ff65
Co-authored-by: taakleton <taakleton@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)
|
|
}
|
|
})
|
|
}
|