1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Shorten excuse prompt in arc diff

Test Plan: `arc diff` on a commit with lint error.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2595
This commit is contained in:
vrana 2012-05-29 12:48:31 -07:00
parent 4eb6b97097
commit 61b0cfac63

View file

@ -1120,7 +1120,7 @@ EOTEXT
$this->lintExcuse = $this->getArgument('excuse'); $this->lintExcuse = $this->getArgument('excuse');
} else { } else {
$this->lintExcuse = $this->getErrorExcuse( $this->lintExcuse = $this->getErrorExcuse(
"Provide an explanation for the lint failures:", "Explanation:",
$repository_api->getScratchFilePath('lint-excuses')); $repository_api->getScratchFilePath('lint-excuses'));
} }
} }
@ -1192,7 +1192,7 @@ EOTEXT
$this->unitExcuse = $this->getArgument('excuse'); $this->unitExcuse = $this->getArgument('excuse');
} else { } else {
$this->unitExcuse = $this->getErrorExcuse( $this->unitExcuse = $this->getErrorExcuse(
"Provide an explanation for the unit test failures:", "Explanation:",
$repository_api->getScratchFilePath('unit-excuses')); $repository_api->getScratchFilePath('unit-excuses'));
} }
} }