From 9e0de2f580b92a0d67d77828ec0bcad797fdfda4 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Thu, 11 Oct 2018 13:17:30 -0300 Subject: [PATCH] agrego sentencia return a las tareas para devolver la promesa cumplida --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 522f10a..838a7cd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -18,7 +18,7 @@ var paths = { }; gulp.task('templates', function() { - pump( + return pump( [ gulp.src(paths.srcViews), htmlmin(), @@ -32,7 +32,7 @@ gulp.task('templates', function() { }); gulp.task('uglify', ['templates'], function() { - pump( + return pump( [ gulp.src([ paths.srcJS, @@ -50,7 +50,7 @@ gulp.task('uglify', ['templates'], function() { }); gulp.task('pre-commit', function() { - pump( + return pump( [ gulp.src(paths.srcJS), jshint('.jshintrc'), -- 1.9.1