source:
trip-planner-front/node_modules/terser/tools/exit.cjs@
1ad8e64
Last change on this file since 1ad8e64 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 249 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 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.