Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes the empty test

  • Loading branch information...
commit 1eef0b75f1bc0943efbd38a3ad01565946198b2b 1 parent 21e76cb
@substack authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -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')
}
Please sign in to comment.
Something went wrong with that request. Please try again.