gulp-jslint icon indicating copy to clipboard operation
gulp-jslint copied to clipboard

Pipe stops at jslint.reporter

Open PikeUK opened this issue 8 years ago • 0 comments

Hi,

Thanks for the software. I'm having an issue where pipes placed after a jslint.reporter don't seem to function.

The following code doesn't write anything to the outputDir, however if the jslint.reporter line is removed then the output files are written.

gulp.task("js", function () {
    return gulp.src(inputDir + globs.js)
        .pipe(jslint())
        .pipe(jslint.reporter("default")) // If this line is present no files are written to the outputDir
        .pipe(gulp.dest(outputDir))
        .pipe(browserSync.stream());
});

node.js v6.11.2 gulp v3.9.1 gulp-jslint v1.0.10

PikeUK avatar Sep 14 '17 09:09 PikeUK