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 48da42e commit 0e9d8adCopy full SHA for 0e9d8ad
lib/reporters/base.js
@@ -25,7 +25,7 @@ exports = module.exports = Base;
25
* Check if both stdio streams are associated with a tty.
26
*/
27
28
-var isatty = tty.isatty(1) && tty.isatty(2);
+var isatty = process.stdout.isTTY && process.stderr.isTTY;
29
30
/**
31
* Save log references to avoid tests interfering (see GH-3604).
0 commit comments