Skip to content

Commit

Permalink
hound comments resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
HassanAkbar committed Apr 2, 2024
1 parent 45a2976 commit 3f9453f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tc211/termbase/term.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ def lineage_source_similarity=(value)

def clean_source!(source)
if source.is_a?(Hash)
source["ref"].gsub!(/\(E\),?\s*/, "") if source["ref"]
source["clause"].gsub!(/\(E\),?\s*/, "") if source["clause"]
source["ref"]&.gsub!(/\(E\),?\s*/, "")
source["clause"]&.gsub!(/\(E\),?\s*/, "")
else
source.gsub!(/\(E\),?\s*/, "")
end
Expand Down

0 comments on commit 3f9453f

Please sign in to comment.