Skip to content

Commit

Permalink
Fix: Re-emit errors on output stream to propagate singular glob errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yocontra authored and phated committed Nov 28, 2017
1 parent bbddeec commit efd4139
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function src(glob, opt) {
outputStream = outputStream
.pipe(sourcemaps.init({loadMaps: true}));
}
globStream.on('error', outputStream.emit.bind(outputStream, 'error'));
return outputStream;
}

Expand Down

0 comments on commit efd4139

Please sign in to comment.