Files
setup-helm/node_modules/set-blocking/index.js
github-actions[bot] 20d2b4f98d v3 new release (#80)
2022-06-27 14:17:15 -04:00

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)
}
})
}