Browse files

Fallback to stdout when stderr is not available

  • Loading branch information...
1 parent 287a178 commit 1d925be78aa50446e4996e21135f80092664f331 nzakas committed Feb 18, 2011
View
2 javascript/build/yuitest/npm/cli.js
@@ -8,7 +8,7 @@ var fs = require("fs"),
YUITest = require("./lib/yuitest-node.js").YUITest,
TestRunner = YUITest.TestRunner,
stdout = process.stdout,
- stderr = process.stderr;
+ stderr = process.stderr || stdout; //stderr added in 0.3.8
if (process.binding("natives").vm){
View
2 javascript/build/yuitest/npm/package.json
@@ -1,6 +1,6 @@
{
"name": "yuitest",
- "version": "0.6.2",
+ "version": "0.6.3",
"description": "YUI Test Library on NodeJS",
"author": "Nicholas C. Zakas <nzakas@yahoo-inc.com>",
"bugs": { "web" : "http://yuilibrary.com/projects/yuitest/issues" },
View
2 javascript/src/nodejs/cli.js
@@ -8,7 +8,7 @@ var fs = require("fs"),
YUITest = require("./lib/yuitest-node.js").YUITest,
TestRunner = YUITest.TestRunner,
stdout = process.stdout,
- stderr = process.stderr;
+ stderr = process.stderr || stdout; //stderr added in 0.3.8
if (process.binding("natives").vm){
View
2 javascript/tests/web/EventTests.js
@@ -1,6 +1,6 @@
(function(){
- var YUITest = this.YUITest || require("yuitest").YUITest,
+ var //YUITest = this.YUITest || require("yuitest").YUITest,
Assert = YUITest.Assert,
ObjectAssert = YUITest.ObjectAssert;

0 comments on commit 1d925be

Please sign in to comment.