Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Feb 19, 2016
1 parent 791100a commit 3cdaf43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Console/Commands/ModuleMigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,9 @@ protected function migrate($slug)
{
if ($this->module->exists($slug)) {
$pretend = Arr::get($this->option(), 'pretend', false);
$options = ['pretend' => $pretend];
$path = $this->getMigrationPath($slug);

$this->migrator->run($path, $options['pretend']);
$this->migrator->run($path, $pretend);

// Once the migrator has run we will grab the note output and send it out to
// the console screen, since the migrator itself functions without having
Expand Down

0 comments on commit 3cdaf43

Please sign in to comment.