Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/models/names_manager/canonical_names.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,7 @@ def self.map(canonical_name, *also_as)
map 'Zhang Kang', 'piecehealth', 'Kang Zhang'
map 'Zheng Jia', 'zhengjia'
map 'zzak', 'Zachary Scott'
map 'Harsh Deep', 'Harsh', "harsh.deep\100moderntreasury.com"
# Reverse SEEN_ALSO_AS to be able to go from handler to canonical name.
CANONICAL_NAME_FOR = {}
SEEN_ALSO_AS.each do |canonical_name, also_as|
Expand Down
4 changes: 4 additions & 0 deletions test/credits/canonical_names_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5159,5 +5159,9 @@ class CanonicalNamesTest < ActiveSupport::TestCase
test 'प्रथमेश Sonpatki' do
assert_contributor_names 'a7a2bc0f66', 'Prathamesh Sonpatki'
end

test 'Harsh' do
assert_contributor_names '5ff38f4', 'Harsh Deep'
end
end
end