mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Return gulp stream from task.
This commit is contained in:
parent
e0006e4c5b
commit
84caa04de0
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue