lib/licensed/dependency.rb in licensed-2.10.0 vs lib/licensed/dependency.rb in licensed-2.11.0

- old
+ new

@@ -72,10 +72,10 @@ # Returns the license text content from all matched sources # except the package file, which doesn't contain license text. def license_contents files = matched_files.reject { |f| f == package_file } .group_by(&:content) - .map { |content, files| { "sources" => license_content_sources(files), "text" => content } } + .map { |content, sources| { "sources" => license_content_sources(sources), "text" => content } } files << generated_license_contents if files.empty? files.compact end