lib/rubocop/cop/style/unneeded_percent_q.rb in rubocop-0.49.1 vs lib/rubocop/cop/style/unneeded_percent_q.rb in rubocop-0.50.0

- old
+ new

@@ -33,10 +33,10 @@ def check(node) return unless start_with_percent_q_variant?(node) return if interpolated_quotes?(node) || allowed_percent_q?(node) - add_offense(node, :expression) + add_offense(node) end def interpolated_quotes?(node) node.source.include?(SINGLE_QUOTE) && node.source.include?(QUOTE) end