From 98d8472afd94c2e0abcf1d3c4a3c201dfd1f6dc7 Mon Sep 17 00:00:00 2001 From: Ivan Demchuk Date: Sat, 13 Jun 2020 19:31:44 +0300 Subject: [PATCH] Fix 'The following tasks did not complete' error --- gulp/ftp.js | 9 +++++---- gulp/gulpfile.js | 6 ++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gulp/ftp.js b/gulp/ftp.js index 1f5d4796..2d342ac4 100644 --- a/gulp/ftp.js +++ b/gulp/ftp.js @@ -79,14 +79,15 @@ function gulptasksFTP($, gulp, buildFolder) { .pipe($.sftp(deployCredentials)); }); - gulp.task(`ftp.upload.${deployEnv}`, () => { - return gulp.series( + gulp.task( + `ftp.upload.${deployEnv}`, + gulp.series( "ftp.writeVersion", `ftp.upload.${deployEnv}.game`, `ftp.upload.${deployEnv}.indexHtml`, `ftp.upload.${deployEnv}.additionalFiles` - ); - }); + ) + ); } } diff --git a/gulp/gulpfile.js b/gulp/gulpfile.js index 494ccb7e..66b3a4ec 100644 --- a/gulp/gulpfile.js +++ b/gulp/gulpfile.js @@ -217,7 +217,8 @@ gulp.task("step.deleteEmpty", cb => { gulp.task("step.postbuild", gulp.series("imgres.cleanupUnusedCssInlineImages", "step.deleteEmpty")); // Builds everything (dev) -gulp.task("build.dev", () => +gulp.task( + "build.dev", gulp.series( "utils.cleanup", "utils.copyAdditionalBuildFiles", @@ -232,7 +233,8 @@ gulp.task("build.dev", () => ); // Builds everything (standalone -dev) -gulp.task("build.standalone.dev", () => +gulp.task( + "build.standalone.dev", gulp.series( "utils.cleanup", "imgres.atlas",