Skip to content

Commit

Permalink
Merge pull request #965 from sul-dlss/corylown-patch-1
Browse files Browse the repository at this point in the history
Run rubocop autocorrect
  • Loading branch information
corylown authored Jul 11, 2023
2 parents d4a2f21 + 6c01e10 commit f5100c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/traject/config/sirsi_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ def library_has(field)
source, item_type, *other_data = extractor.collect_subfields(field, spec)
next unless source == 'SDR-PURL' && item_type == 'item'

data = other_data.map { |v| v.split(':', 2) }.to_h
data = other_data.to_h { |v| v.split(':', 2) }

next unless data['collection']

Expand Down

0 comments on commit f5100c0

Please sign in to comment.