lib/rubocop/cop/rails/output.rb in rubocop-0.68.1 vs lib/rubocop/cop/rails/output.rb in rubocop-0.69.0
- old
+ new
@@ -13,10 +13,10 @@
#
# # good
# Rails.logger.debug 'A debug message'
class Output < Cop
MSG = 'Do not write to stdout. ' \
- "Use Rails's logger if you want to log.".freeze
+ "Use Rails's logger if you want to log."
def_node_matcher :output?, <<-PATTERN
(send nil? {:ap :p :pp :pretty_print :print :puts} ...)
PATTERN