Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

emit data, whoops

  • Loading branch information...
commit aeb9be941367bb746ca3d8b53294b3c3a3c0b7f2 1 parent 78023fb
James Halliday authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  index.js
2  index.js
@@ -108,7 +108,7 @@ exports.stringify = function (op, sep, cl) {
108 108 return
109 109 ended = true
110 110 if(data) stream.write(data)
111   - if(!anyData) stream.write(op)
  111 + if(!anyData) stream.emit('data', op)
112 112 stream.emit('data', cl)
113 113
114 114 stream.emit('end')

0 comments on commit aeb9be9

Please sign in to comment.
Something went wrong with that request. Please try again.