diff options
Diffstat (limited to 'node_modules/gulp-gzip/gulpfile.js')
-rwxr-xr-x | node_modules/gulp-gzip/gulpfile.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/gulp-gzip/gulpfile.js b/node_modules/gulp-gzip/gulpfile.js index 95ce6781a..078cf2ed7 100755 --- a/node_modules/gulp-gzip/gulpfile.js +++ b/node_modules/gulp-gzip/gulpfile.js @@ -9,14 +9,14 @@ var stylish = require('jshint-stylish'); var root = __dirname; gulp.task('clean', function() { - gulp.src([ + return gulp.src([ 'examples/*/tmp', 'test/tmp' ]).pipe(clean()); }); gulp.task('lint', function() { - gulp.src([ 'index.js', 'test/test.js', 'lib/*.js' ]) + return gulp.src([ 'index.js', 'test/test.js', 'lib/*.js' ]) .pipe(jshint({ expr: true })) .pipe(jshint.reporter(stylish)); }); @@ -26,7 +26,7 @@ gulp.task('test', function() { // node lives in one process/scope/directory process.chdir(root); - gulp.src('test/test.js') + return gulp.src('test/test.js') .pipe(mocha({ reporter: 'spec', timeout: 1000 })) }); |