bin/licensee in licensee-4.9.0 vs bin/licensee in licensee-5.0.0b1

- old
+ new

@@ -1,14 +1,15 @@ #!/usr/bin/env ruby require_relative "../lib/licensee" path = ARGV[0] || Dir.pwd +Licensee.package_manager_files = true project = Licensee::Project.new(path) -license = project.license_file +license = project.matched_file if license - puts "License file: #{license.path}" + puts "Matched file: #{license.path}" puts "License: #{license.match ? license.match.meta['title'] : 'no license'}" puts "Confidence: #{license.confidence}%" puts "Method: #{license.matcher.class}" else puts "Unknown"