We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8884007 commit 82082f1Copy full SHA for 82082f1
index.js
@@ -15,7 +15,7 @@ const piscina = new Piscina({
15
let output;
16
// Considering this script won't be called as a
17
// child_process, stdout.isTTY should be reliable enough.
18
-if (process.stdout.isTTY) {
+if (process.env.TTY || process.stdout.isTTY) {
19
output = require('./console-output');
20
} else {
21
output = {
0 commit comments