summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2019-08-20 12:00:37 -0600
committermo khan <mo.khan@gmail.com>2019-08-20 12:00:37 -0600
commitced12c2b14be4db7c05dd5d24df5eb5038d933d2 (patch)
tree97d3ecd601e6b30b6d30b1e08ff96d4dbdd55ff7 /lib
parentcf6b1d9b21680c6780c7f77d5afaa94b2220fff9 (diff)
remove unnecessary parentheses
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