lib/licensee/project.rb in licensee-5.0.0b1 vs lib/licensee/project.rb in licensee-5.0.0b2

- old
+ new

@@ -34,10 +34,11 @@ return unless Licensee.package_manager_files? @package_file ||= files.select { |f| f.package? }.sort_by { |f| f.package_score }.last end def matched_file - license_file || package_file + return license_file if license_file && license_file.match + return package_file if package_file && package_file.match end private def commit