lib/cms_scanner/finders/finder.rb in cms_scanner-0.0.37.9 vs lib/cms_scanner/finders/finder.rb in cms_scanner-0.0.37.10

- old
+ new

@@ -49,10 +49,10 @@ def found_by caller_locations.each do |call| label = call.label - next unless label == 'aggressive' || label == 'passive' + next unless %w[aggressive passive].include? label return "#{titleize} (#{label.capitalize} Detection)" end nil end