Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Laddusaw committed Nov 7, 2024
1 parent 9a2da3d commit 224c1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marc_to_solr/lib/traject_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@
first_letter = record['050']['a'].lstrip.slice(0, 1)
letters = /([[:alpha:]])*/.match(record['050']['a'])[0]
accumulator << Traject::TranslationMap.new("callnumber_map")[first_letter]
accumulator << "#{Traject::TranslationMap.new("callnumber_map")[first_letter]}:#{Traject::TranslationMap.new("callnumber_map")[letters]}"
accumulator << "#{Traject::TranslationMap.new('callnumber_map')[first_letter]}:#{Traject::TranslationMap.new('callnumber_map')[letters]}"
end
end
end
Expand Down

0 comments on commit 224c1eb

Please sign in to comment.