source: trip-planner-front/node_modules/terser/tools/exit.cjs@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
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.