huqi пре 5 година
родитељ
комит
42ff833f98
1 измењених фајлова са 5 додато и 6 уклоњено
  1. 5 6
      gulpfile.js

+ 5 - 6
gulpfile.js

@@ -263,8 +263,7 @@ function build_web_minimize(cb) {
         .pipe(rename({ extname: '.min.js' }))
         .pipe(gulp.dest(dest))
         .pipe(logger(function(){
-            doCount++;
-            if (doCount <= size) pb.render({ completed: doCount, total: size, count: doCount});
+            if (doCount <= size){doCount++; pb.render({ completed: doCount, total: size, count: doCount})};
             if (doCount > size) {console.log();}
         }))
         .pipe(gutil.noop());
@@ -282,8 +281,8 @@ function build_web_move() {
     return gulp.src(src_move)
         .pipe(gulp.dest(dest))
         .pipe(logger(function(){
-            doCount++;
-            if (doCount <= size) pb.render({ completed: doCount, total: size, count: doCount});
+
+            if (doCount <= size) {doCount++;pb.render({ completed: doCount, total: size, count: doCount})};
             if (doCount > size) {console.log();}
         }))
         .pipe(gutil.noop());
@@ -317,8 +316,8 @@ function deploy_server(){
     return gulp.src(source)
         .pipe(gulp.dest(dest))
         .pipe(logger(function(){
-            doCount++;
-            if (doCount <= size) pb.render({ completed: doCount, total: size, count: doCount});
+
+            if (doCount <= size) {doCount++; pb.render({ completed: doCount, total: size, count: doCount})};
             if (doCount > size) {console.log();}
         }));
     //.pipe(gutil.noop());