Skip to content

Commit

Permalink
Set shell command 'main' before running startUp
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Kristiansen committed Nov 25, 2015
1 parent b80de12 commit d2a058f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Shell.php
Expand Up @@ -443,8 +443,8 @@ public function runCommand($argv, $autoMethod = false, $extra = [])
}

if ($this->hasMethod('main')) {
$this->startup();
$this->command = 'main';
$this->startup();
return call_user_func_array([$this, 'main'], $this->args);
}

Expand Down

0 comments on commit d2a058f

Please sign in to comment.