lib/rubocop/comment_config.rb in rubocop-0.84.0 vs lib/rubocop/comment_config.rb in rubocop-0.85.0

- old
+ new

@@ -122,10 +122,10 @@ end end end def directive_on_comment_line?(comment) - comment.text[1..-1].match(COMMENT_DIRECTIVE_REGEXP) + comment.text[1..-1].match?(COMMENT_DIRECTIVE_REGEXP) end def each_directive return if processed_source.comments.nil?