1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-10 08:52:39 +01:00

Minor tidying of ArcanistCallConduitWorkflow

Summary: Self-explanatory.

Test Plan: Eyeball it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11567
This commit is contained in:
Joshua Spence 2015-02-01 11:05:27 +11:00
parent fcd882815a
commit 62e15dcc15

View file

@ -56,7 +56,7 @@ EOTEXT
$method = $this->getArgument('method', array());
if (count($method) !== 1) {
throw new ArcanistUsageException(
'Provide exactly one Conduit method name.');
pht('Provide exactly one Conduit method name.'));
}
$method = reset($method);
@ -70,7 +70,7 @@ EOTEXT
$params = json_decode($params, true);
if (!is_array($params)) {
throw new ArcanistUsageException(
'Provide method parameters on stdin as a JSON blob.');
pht('Provide method parameters on stdin as a JSON blob.'));
}
$error = null;