mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Output the title of the task instead of Array when listing in the CLI
This commit is contained in:
parent
200f184933
commit
0470219cb1
@ -54,7 +54,7 @@ class TaskRunner extends Controller {
|
|||||||
} else {
|
} else {
|
||||||
echo "SILVERSTRIPE DEVELOPMENT TOOLS: Tasks\n--------------------------\n\n";
|
echo "SILVERSTRIPE DEVELOPMENT TOOLS: Tasks\n--------------------------\n\n";
|
||||||
foreach($tasks as $task) {
|
foreach($tasks as $task) {
|
||||||
echo " * $task: sake dev/tasks/" . $task['class'] . "\n";
|
echo " * $task[title]: sake dev/tasks/" . $task['class'] . "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user