huqi 5 лет назад
Родитель
Сommit
831d9e5949
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      gulpfile.js

+ 2 - 4
gulpfile.js

@@ -335,13 +335,11 @@ function deploy_server(){
     //.pipe(gutil.noop());
 }
 
-exports.preperation = function(cd){
+exports.preperation =  gulp.series(()=>{
     console.log(`---------------------------------------------------------------------
   . Start to download the dependencies needed for compilation ...
 ---------------------------------------------------------------------`);
-    (gulp.series(download_commons_and_jvm, decompress_commons_and_jvm))();
-    cb();
-}
+}, download_commons_and_jvm, decompress_commons_and_jvm);
 
 var shell = require('gulp-shell')
 exports.build_server = function(){