1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +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:
David Reuss 2012-10-11 12:39:35 -07:00 committed by epriestley
parent c57ee8e564
commit a63db7cd6e

View file

@ -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();