Method: Licensee::ProjectFiles::LicenseFile#potential_false_positive?

Defined in:
lib/licensee/project_files/license_file.rb

#potential_false_positive?Boolean

Is this file likely to result in a creative commons false positive?

Returns:

  • (Boolean)


80
81
82
# File 'lib/licensee/project_files/license_file.rb', line 80

def potential_false_positive?
  content.strip =~ CC_FALSE_POSITIVE_REGEX
end