Urara-Blog/node_modules/.pnpm-store/v3/files/7f/522988de4e766529593600adc6942551a44a9333d8f988c27299f02b7e63e38773b3ad3d73b807135ef1a5903e8bff223845d8908fe0028e460dea8075ad14
2022-08-14 01:14:53 +08:00

7 lines
252 B
Text

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