mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Restore "%d" support to "tsprintf()"
Summary: Ref T13490. I recently made "tsprintf()" more strict, but we do sometimes use "%d" and this is reasonable to support. Test Plan: Ran "arc branch". Maniphest Tasks: T13490 Differential Revision: https://secure.phabricator.com/D21098
This commit is contained in:
parent
21e80a635d
commit
ab589ab31d
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ function xsprintf_terminal($userdata, &$pattern, &$pos, &$value, &$length) {
|
|||
$value = PhutilTerminalString::escapeStringValue($value, false);
|
||||
$type = 's';
|
||||
break;
|
||||
case 'd':
|
||||
$type = 'd';
|
||||
break;
|
||||
default:
|
||||
throw new Exception(
|
||||
pht(
|
||||
|
|
Loading…
Reference in a new issue