Sign in
chromium
/
devtools
/
devtools-frontend
/
main
/
.
/
node_modules
/
terser
/
tools
/
exit.cjs
blob: 46a970be49cef354ba1f3a8531c243e0fd713108 [
file
] [
log
] [
blame
]
// workaround for tty output truncation upon process.exit()
// https://github.com/nodejs/node/issues/6456
[
process
.
stdout
,
process
.
stderr
].
forEach
((
s
)
=>
{
s
&&
s
.
isTTY
&&
s
.
_handle
&&
s
.
_handle
.
setBlocking
&&
s
.
_handle
.
setBlocking
(
true
)
});