Skip to content

Commit b4a9938

Browse files
authored
Remove Boolean()
1 parent f6714e4 commit b4a9938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reporters/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exports = module.exports = Base;
2525
* Check if both stdio streams are associated with a tty.
2626
*/
2727

28-
var isatty = Boolean(process.stdout.isTTY) && Boolean(process.stderr.isTTY);
28+
var isatty = process.stdout.isTTY && process.stderr.isTTY;
2929

3030
/**
3131
* Save log references to avoid tests interfering (see GH-3604).

0 commit comments

Comments
 (0)