Skip to content

Commit

Permalink
include stat response in events
Browse files Browse the repository at this point in the history
  • Loading branch information
daaku committed Nov 18, 2010
1 parent 5145d66 commit 7063655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/walker.js
Expand Up @@ -58,15 +58,15 @@ Walker.prototype.go = function(target) {
return
}

that.emit('dir', target)
that.emit('dir', target, stat)
files.forEach(function(part) {
that.go(path.join(target, part))
})
that.doneOne()
})
}
} else {
that.emit('file', target)
that.emit('file', target, stat)
that.doneOne()
}
})
Expand Down

0 comments on commit 7063655

Please sign in to comment.