mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Return gulp stream from task.
This commit is contained in:
@@ -3,7 +3,7 @@ var jshint = require('gulp-jshint')
|
||||
var jsonlint = require('gulp-jsonlint')
|
||||
|
||||
gulp.task('jshint', function() {
|
||||
gulp.src(['lib/**/*.js', '*.js'])
|
||||
return gulp.src(['lib/**/*.js', '*.js'])
|
||||
.pipe(jshint())
|
||||
.pipe(jshint.reporter('jshint-stylish'))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user