Permalink
Browse files

fixes the empty test

  • Loading branch information...
1 parent 21e76cb commit 1eef0b75f1bc0943efbd38a3ad01565946198b2b @substack committed Jun 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -78,7 +78,7 @@ exports.parse = function (path) {
stream.end = function (data) {
if(data)
stream.write(data)
- if(!count)
+ if(!count && !path)
stream.emit('data', stream.root)
stream.emit('end')
}

0 comments on commit 1eef0b7

Please sign in to comment.