Skip to content

Commit

Permalink
fix for 'Error: process.stdout cannot be closed.'
Browse files Browse the repository at this point in the history
  • Loading branch information
orlin committed Mar 7, 2012
1 parent 5637588 commit 3b569d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/massage.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Massage
self = this
stream_in.setEncoding encoding
stream_in.on "data", (chunk) ->
stream_out.end self.transform(chunk), encoding
stream_out.write self.transform(chunk), encoding

constructor: (@sequence = [], immediate, massagists) ->
this.transform(immediate, massagists) if immediate?
Expand Down

0 comments on commit 3b569d7

Please sign in to comment.