Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove Boolean()
  • Loading branch information
1999 authored Jul 20, 2019
commit b4a9938b5e389ef4607eca96ea4aa6e0c63bb95c
2 changes: 1 addition & 1 deletion lib/reporters/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports = module.exports = Base;
* Check if both stdio streams are associated with a tty.
*/

var isatty = Boolean(process.stdout.isTTY) && Boolean(process.stderr.isTTY);
var isatty = process.stdout.isTTY && process.stderr.isTTY;

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