Browse Source

Add last progressbar advance

monkeyless 6 years ago
parent
commit
32a6100fed
1 changed files with 1 additions and 0 deletions
  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);
         $this->insertBuffer($buffer, $count);
+        $bar->advance(count($buffer));
         $bar->finish();
         $bar->finish();
         $this->info('Successfully imported ' . $count . ' entries.');
         $this->info('Successfully imported ' . $count . ' entries.');
         return;
         return;