Permalink
Browse files

fixed stream writing

  • Loading branch information...
1 parent 6737547 commit 410a5037486a6fc78c084a317bde35ab124e58c6 @Raynos committed Jul 20, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 index.js
  2. +1 −1 package.json
View
@@ -54,7 +54,9 @@ function connectToTestem(testemOptions) {
var child = spawn(testemOptions.command, testemOptions.args)
child.stdout.pipe(consumer)
- child.stderr.pipe(stream)
+ child.stderr.on("data", function (data) {
+ stream.write(data)
+ })
}
function emit() {
View
@@ -1,6 +1,6 @@
{
"name": "testem-node",
- "version": "0.1.4",
+ "version": "0.1.5",
"description": "Connect to testem and run node tests",
"keywords": [],
"author": "Raynos <raynos2@gmail.com>",

0 comments on commit 410a503

Please sign in to comment.