mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
Make British spelling stricter
Summary: This is pretty lame but I didn't have a better idea. Test Plan: $ arc test # previously translated as list $ arc lst $ arc brnach Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4773
This commit is contained in:
parent
6cd3d8e995
commit
cdb01f23a7
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class ArcanistConfiguration {
|
|||
asort($distances);
|
||||
$best = min($max_distance, reset($distances));
|
||||
foreach ($distances as $option => $distance) {
|
||||
if ($distance > $best) {
|
||||
if ($distance > $best || strlen($option) <= 2 * $distance) {
|
||||
unset($distances[$option]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue