lib/licensee/project_files/license_file.rb in licensee-9.9.0.beta.3 vs lib/licensee/project_files/license_file.rb in licensee-9.9.0

- old
+ new

@@ -52,9 +52,10 @@ [Matchers::Copyright, Matchers::Exact, Matchers::Dice] end def attribution @attribution ||= begin + return unless copyright? || license.content =~ /\[fullname\]/ matches = Matchers::Copyright::REGEX .match(content_without_title_and_version) matches[0] if matches end end