mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 14:00:55 +01:00
Added check for no tasks returned by 'arc tasks'
Test Plan: A lot of spew before. Not so much now. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3681
This commit is contained in:
parent
c57ee8e564
commit
a63db7cd6e
1 changed files with 5 additions and 0 deletions
|
@ -92,6 +92,11 @@ EOTEXT
|
|||
$order,
|
||||
$limit);
|
||||
|
||||
if (!$this->tasks) {
|
||||
echo "No tasks found.\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
$task_rows = array();
|
||||
foreach ($this->tasks as $task) {
|
||||
$output = array();
|
||||
|
|
Loading…
Reference in a new issue