From a371deb3de8c58ab4fb171e03959080166aaaf47 Mon Sep 17 00:00:00 2001 From: Chris Raynor Date: Sun, 1 Jun 2014 12:08:29 -0700 Subject: [PATCH] passing follow link through to child readers to fix bug where symlinks in directories caused a stream error --- lib/dir-reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dir-reader.js b/lib/dir-reader.js index 346ac2b..f465b8b 100644 --- a/lib/dir-reader.js +++ b/lib/dir-reader.js @@ -209,7 +209,7 @@ DirReader.prototype.getChildProps = function (stat) { return { depth: this.depth + 1 , root: this.root || this , parent: this - , follow: this.follow + , follow: this.props.follow , filter: this.filter , sort: this.props.sort , hardlinks: this.props.hardlinks