Skip to content

Commit 5868f12

Browse files
authored
Merge pull request #347 from harsh183/fix_harsh_deep_name
add mapping fix for Harsh and Harsh Deep
2 parents 1da399f + 5d4f431 commit 5868f12

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/models/names_manager/canonical_names.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,7 @@ def self.map(canonical_name, *also_as)
11931193
map 'Zhang Kang', 'piecehealth', 'Kang Zhang'
11941194
map 'Zheng Jia', 'zhengjia'
11951195
map 'zzak', 'Zachary Scott'
1196+
map 'Harsh Deep', 'Harsh', "harsh.deep\100moderntreasury.com"
11961197
# Reverse SEEN_ALSO_AS to be able to go from handler to canonical name.
11971198
CANONICAL_NAME_FOR = {}
11981199
SEEN_ALSO_AS.each do |canonical_name, also_as|

test/credits/canonical_names_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5159,5 +5159,9 @@ class CanonicalNamesTest < ActiveSupport::TestCase
51595159
test 'प्रथमेश Sonpatki' do
51605160
assert_contributor_names 'a7a2bc0f66', 'Prathamesh Sonpatki'
51615161
end
5162+
5163+
test 'Harsh' do
5164+
assert_contributor_names '5ff38f4', 'Harsh Deep'
5165+
end
51625166
end
51635167
end

0 commit comments

Comments
 (0)