mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-26 07:20:56 +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:
parent
fcd882815a
commit
62e15dcc15
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue