Skip to content

Commit

Permalink
Show seed output prior to running, instead of after. (#17318)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink authored and taylorotwell committed Jan 13, 2017
1 parent 3ee1c8f commit c43e7a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Database/Seeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ abstract public function run();
*/
public function call($class)
{
$this->resolve($class)->run();

if (isset($this->command)) {
$this->command->getOutput()->writeln("<info>Seeded:</info> $class");
$this->command->getOutput()->writeln("<info>Seeding:</info> $class");
}

$this->resolve($class)->run();
}

/**
Expand Down

0 comments on commit c43e7a6

Please sign in to comment.