Browse Source

Add last progressbar advance

monkeyless 6 năm trước cách đây
mục cha
commit
32a6100fed
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Console/Commands/ImportCities.php

+ 1 - 0
app/Console/Commands/ImportCities.php

@@ -65,6 +65,7 @@ class ImportCities extends Command
             }
         }
         $this->insertBuffer($buffer, $count);
+        $bar->advance(count($buffer));
         $bar->finish();
         $this->info('Successfully imported ' . $count . ' entries.');
         return;