lib/cms_scanner/finders/finder/enumerator.rb in cms_scanner-0.13.5 vs lib/cms_scanner/finders/finder/enumerator.rb in cms_scanner-0.13.6

- old
+ new

@@ -60,10 +60,10 @@ full_res = NS::Browser.get(head_res.effective_url, full_request_params) return unless valid_response_codes.include?(full_res.code) return if target.homepage_or_404?(full_res) || - opts[:exclude_content] && full_res.body&.match(opts[:exclude_content]) + (opts[:exclude_content] && full_res.body&.match(opts[:exclude_content])) full_res end # @return [ Hash ]