Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

emit data, whoops

  • Loading branch information...
commit aeb9be941367bb746ca3d8b53294b3c3a3c0b7f2 1 parent 78023fb
@substack authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -108,7 +108,7 @@ exports.stringify = function (op, sep, cl) {
return
ended = true
if(data) stream.write(data)
- if(!anyData) stream.write(op)
+ if(!anyData) stream.emit('data', op)
stream.emit('data', cl)
stream.emit('end')
Please sign in to comment.
Something went wrong with that request. Please try again.