mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Fix invalid parameter in phutil_console_wrap()
Summary: Fixes T8314. Change the phutil_console_wrap() call to only have a single string parameter. Test Plan: Ran `arc diff` added text into the title, summary and test plan fields, but did not specify any reviewers. When prompted to continue, clicked 'No' and saw the '(Message saved to commit message.)' string. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T8314 Differential Revision: https://secure.phabricator.com/D13015
This commit is contained in:
parent
64d03ff68b
commit
407af00ef6
1 changed files with 1 additions and 5 deletions
|
@ -1724,11 +1724,7 @@ EOTEXT
|
|||
}
|
||||
} catch (Exception $ex) {
|
||||
if ($wrote) {
|
||||
echo phutil_console_wrap(
|
||||
"%s\n",
|
||||
pht(
|
||||
'(Message saved to %s.)',
|
||||
$where));
|
||||
echo phutil_console_wrap(pht('(Message saved to %s.)', $where)."\n");
|
||||
}
|
||||
throw $ex;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue