mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-25 15:25:17 +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')
|
var jsonlint = require('gulp-jsonlint')
|
||||||
|
|
||||||
gulp.task('jshint', function() {
|
gulp.task('jshint', function() {
|
||||||
gulp.src(['lib/**/*.js', '*.js'])
|
return gulp.src(['lib/**/*.js', '*.js'])
|
||||||
.pipe(jshint())
|
.pipe(jshint())
|
||||||
.pipe(jshint.reporter('jshint-stylish'))
|
.pipe(jshint.reporter('jshint-stylish'))
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user