source:
trip-planner-front/node_modules/terser/tools/exit.cjs@
571e0df
Last change on this file since 571e0df was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 249 bytes |
Line | |
---|---|
1 | // workaround for tty output truncation upon process.exit() |
2 | // https://github.com/nodejs/node/issues/6456 |
3 | |
4 | [process.stdout, process.stderr].forEach((s) => { |
5 | s && s.isTTY && s._handle && s._handle.setBlocking && |
6 | s._handle.setBlocking(true) |
7 | }); |
Note:
See TracBrowser
for help on using the repository browser.