This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new c43415e  Oops, misplaced space
c43415e is described below

commit c43415ebffe80c17276dcaf8195e9129ff2ab6ae
Author: Sebb <[email protected]>
AuthorDate: Mon Jun 21 23:14:42 2021 +0100

    Oops, misplaced space
---
 lib/whimsy/asf/person.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/person.rb b/lib/whimsy/asf/person.rb
index 5807b60..21e6ce9 100644
--- a/lib/whimsy/asf/person.rb
+++ b/lib/whimsy/asf/person.rb
@@ -196,7 +196,7 @@ module ASF
       # index cannot be -1, cannot match if missing entries are set to -1 or 
nil
       return one == two ||
         (NAMEHASH[one] || -1) == NAMEHASH[two] ||
-        one.start_with?("#{two} ") || two.start_with?("#{one }") ||
+        one.start_with?("#{two} ") || two.start_with?("#{one} ") ||
         (NAMEHASH[one.split(' ').first] || -1) == NAMEHASH[two.split(' 
').first]
     end
 

Reply via email to