Browse Source

Fix case when no app-specific shells created

@see http://git.io/sFuEAw
Jad Bitar 11 years ago
parent
commit
adbb07466f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Console/ShellDispatcher.php

+ 1 - 1
src/Console/ShellDispatcher.php

@@ -198,7 +198,7 @@ class ShellDispatcher {
 		$io = new ConsoleIo();
 		$task = new CommandTask($io);
 		$io->setLoggers(false);
-		$list = $task->getShellList();
+		$list = $task->getShellList() + ['app' => []];
 		$fixed = array_flip($list['app']) + array_flip($list['CORE']);
 		$aliases = [];