Skip to content

Commit

Permalink
Remove Boolean()
Browse files Browse the repository at this point in the history
  • Loading branch information
1999 authored Jul 20, 2019
1 parent f6714e4 commit b4a9938
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit b4a9938

Please sign in to comment.