We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f868b commit cc0349fCopy full SHA for cc0349f
lib/heimdall_tools/asff_mapper.rb
@@ -201,7 +201,7 @@ def to_hdf
201
202
item = {}
203
# add product name to id if any ids are the same across products
204
- item['id'] = product_groups.filter { |pg| pg != product }.values.any? { |ig| ig.keys.include?(id) } ? "[#{product_name}] #{id}" : id
+ item['id'] = product_groups.select { |pg| pg != product }.values.any? { |ig| ig.keys.include?(id) } ? "[#{product_name}] #{id}" : id
205
206
item['title'] = "#{product_name}: #{group.map { |d| d['title'] }.uniq.join(';')}"
207
0 commit comments