summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/license/management/versions/v1.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/license/management/versions/v1.rb b/lib/license/management/versions/v1.rb
index d448397..abaa1d8 100644
--- a/lib/license/management/versions/v1.rb
+++ b/lib/license/management/versions/v1.rb
@@ -20,7 +20,7 @@ module License
.map { |x| x.licenses.map { |y| best_name_for(y) }.sort.reverse.join(', ') }
.flatten
.group_by { |name| name }
- .map { |(license, items)| { count: items.count, name: license } }
+ .map { |license, items| { count: items.count, name: license } }
.sort_by { |x| [-x[:count], x[:name]] }
end