1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-26 07:20:56 +01:00

Wrap errors in arc diff

Test Plan: Add invalid reviewer in `arc diff`.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D2727
This commit is contained in:
vrana 2012-06-12 12:10:51 -07:00
parent 7650efc72d
commit 6d98ac0e3d

View file

@ -1424,7 +1424,7 @@ EOTEXT
echo "Commit message has errors:\n\n";
$issues = array('Resolve these errors:');
foreach ($ex->getParserErrors() as $error) {
echo " - ".$error."\n";
echo phutil_console_wrap("- ".$error."\n", 6);
$issues[] = ' - '.$error;
}
echo "\n";