Explorar el Código

Add last progressbar advance

monkeyless hace 6 años
padre
commit
32a6100fed
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;