lib/licensee/matchers/exact.rb in licensee-9.10.0 vs lib/licensee/matchers/exact.rb in licensee-9.10.1
- old
+ new
@@ -1,9 +1,10 @@
module Licensee
module Matchers
class Exact < Licensee::Matchers::Matcher
def match
return @match if defined? @match
+
@match = potential_matches.find do |potential_match|
potential_match.wordset == file.wordset
end
end