Skip to content

Commit

Permalink
fix(console): Fix CLI commands without params (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Apr 5, 2020
1 parent 3c81ead commit 3176bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Acorn/Bootstrap/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function bootstrap(Application $app)
$kernel->commands();

$status = $kernel->handle(
$input = new \Symfony\Component\Console\Input\ArgvInput(array_slice($args, 2)),
$input = new \Symfony\Component\Console\Input\ArgvInput(array_slice($args, 1)),
new \Symfony\Component\Console\Output\ConsoleOutput()
);

Expand Down

0 comments on commit 3176bca

Please # to comment.