[Pkg-javascript-commits] [node-tap-mocha-reporter] 94/137: isatty should only look at stdout, not stderr
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Sep 7 09:49:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-tap-mocha-reporter.
commit 19fdd31d366f26bab9763ee720a9c35a8fb359b1
Author: isaacs <i at izs.me>
Date: Wed Jul 20 11:46:29 2016 -0700
isatty should only look at stdout, not stderr
Fix https://github.com/tapjs/node-tap/issues/275
---
lib/reporters/base.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/reporters/base.js b/lib/reporters/base.js
index 6ae8c75..433d6c8 100644
--- a/lib/reporters/base.js
+++ b/lib/reporters/base.js
@@ -22,7 +22,7 @@ var Date = global.Date
* Check if both stdio streams are associated with a tty.
*/
-var isatty = tty.isatty(1) && tty.isatty(2);
+var isatty = tty.isatty(1);
/**
* Expose `Base`.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap-mocha-reporter.git
More information about the Pkg-javascript-commits
mailing list