Skip to content

Commit

Permalink
Format output table
Browse files Browse the repository at this point in the history
  • Loading branch information
erjanmx authored Jul 12, 2018
1 parent 14a9eea commit e95d0f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Commands/MigrateCheckCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public function handle()
);

if ($pendingMigrations) {
$this->table(['Pending migrations'], [ $pendingMigrations ]);
$this->table(['Pending migrations'], array_map(function ($migration) {
return [ $migration ];
}, $pendingMigrations));

return 1;
}
Expand Down

0 comments on commit e95d0f5

Please sign in to comment.