Urara-Blog/node_modules/.pnpm-store/v3/files/ce/7338c4c9ee80663f0794bd68df55b6b9dd214ddce9909f016fa64191c23b02f65714305ae9b121360c07e7170d860394b457f563acf430403eb5a8822479bd
2022-08-14 01:14:53 +08:00

7 lines
249 B
Text

// 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)
});