Commit 9e0de2f580b92a0d67d77828ec0bcad797fdfda4
1 parent
f5ccee355e
Exists in
master
agrego sentencia return a las tareas para devolver la promesa cumplida
Showing
1 changed file
with
3 additions
and
3 deletions
 
Show diff stats
gulpfile.js
| ... | ... | @@ -18,7 +18,7 @@ var paths = { | 
| 18 | 18 | }; | 
| 19 | 19 | |
| 20 | 20 | gulp.task('templates', function() { | 
| 21 | - pump( | |
| 21 | + return pump( | |
| 22 | 22 | [ | 
| 23 | 23 | gulp.src(paths.srcViews), | 
| 24 | 24 | htmlmin(), | 
| ... | ... | @@ -32,7 +32,7 @@ gulp.task('templates', function() { | 
| 32 | 32 | }); | 
| 33 | 33 | |
| 34 | 34 | gulp.task('uglify', ['templates'], function() { | 
| 35 | - pump( | |
| 35 | + return pump( | |
| 36 | 36 | [ | 
| 37 | 37 | gulp.src([ | 
| 38 | 38 | paths.srcJS, | 
| ... | ... | @@ -50,7 +50,7 @@ gulp.task('uglify', ['templates'], function() { | 
| 50 | 50 | }); | 
| 51 | 51 | |
| 52 | 52 | gulp.task('pre-commit', function() { | 
| 53 | - pump( | |
| 53 | + return pump( | |
| 54 | 54 | [ | 
| 55 | 55 | gulp.src(paths.srcJS), | 
| 56 | 56 | jshint('.jshintrc'), |