From 57021b270beef7ab0befae858893319306fdbc1b Mon Sep 17 00:00:00 2001 From: Andrew Levine Date: Sat, 28 Nov 2015 15:47:10 -0600 Subject: [PATCH] Update "del" dep to latest version, and switch gulp async hint to promise return --- gulp/tasks/clean.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gulp/tasks/clean.js b/gulp/tasks/clean.js index 73171e14..0b374eed 100644 --- a/gulp/tasks/clean.js +++ b/gulp/tasks/clean.js @@ -4,8 +4,8 @@ import config from '../config'; import gulp from 'gulp'; import del from 'del'; -gulp.task('clean', function(cb) { - - del([config.buildDir], cb); +gulp.task('clean', function() { + return del([config.buildDir]); + }); diff --git a/package.json b/package.json index 55f8bcf7..3de7b9e5 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "bulk-require": "^0.2.1", "bulkify": "^1.1.1", "debowerify": "^1.3.1", - "del": "^0.1.3", + "del": "^2.1.0", "gulp": "^3.8.8", "gulp-angular-templatecache": "^1.3.0", "gulp-autoprefixer": "^2.0.0",