From 4b39bb7d8989d48bb7f9189f274dc1264ebe929f Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Thu, 19 May 2022 10:09:11 +0200 Subject: [PATCH] Adopt clean task after del update (cb -> promise) --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 6666ea7..0c7d042 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -98,8 +98,8 @@ var paths = { destName: 'brouter-web', }; -gulp.task('clean', function (cb) { - del(paths.dest + '/**/*', cb); +gulp.task('clean', function () { + return del(paths.dest + '/**/*'); }); // libs that require loading before config.js