FIX Output the title of the task instead of Array when listing in the CLI

This commit is contained in:
Simon Welsh 2012-09-24 13:37:48 +12:00
parent 200f184933
commit 0470219cb1

View File

@ -54,7 +54,7 @@ class TaskRunner extends Controller {
} else {
echo "SILVERSTRIPE DEVELOPMENT TOOLS: Tasks\n--------------------------\n\n";
foreach($tasks as $task) {
echo " * $task: sake dev/tasks/" . $task['class'] . "\n";
echo " * $task[title]: sake dev/tasks/" . $task['class'] . "\n";
}
}
}