Closed joemaller closed 8 years ago
This PR adds the file.path of the file throwing nunjucks errors into the gulp-util PluginError object. Basically copies what's going on in gulp-nunjucks on lines 21 and 29.
file.path
PluginError
Also adds two simple tests, just because.
This looks fine to me. @carlosll I'll leave it to you to merge it.
I refactored the tests a little, more elegant handling of the stream error listeners. (discussed here)
This looks ok, i'll merge it in.
This PR adds the
file.path
of the file throwing nunjucks errors into the gulp-utilPluginError
object. Basically copies what's going on in gulp-nunjucks on lines 21 and 29.Also adds two simple tests, just because.