Closed Janpot closed 9 years ago
this line: https://github.com/wearefractal/glob-stream/blob/6411ea4891d24227f94f302bd52d79584af8fa9b/index.js#L18 Turns all relative paths into absolute paths. When this is passed to node-glob together with a custom root option it tries to resolve them to this custom root. If this root is no the default one, the files can't be found.
node-glob
root
Possible solution would be to resolve absolute paths to the root option and then delete that option before passing the options object to node-glob
this line: https://github.com/wearefractal/glob-stream/blob/6411ea4891d24227f94f302bd52d79584af8fa9b/index.js#L18 Turns all relative paths into absolute paths. When this is passed to
node-glob
together with a customroot
option it tries to resolve them to this custom root. If thisroot
is no the default one, the files can't be found.Possible solution would be to resolve absolute paths to the
root
option and then delete that option before passing the options object tonode-glob