source:
frontend/node_modules/terser/tools/exit.cjs
| Last change on this file was 9af201e, checked in by , 12 days 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.
