lib/rubocop/cop/style/command_literal.rb in rubocop-0.68.1 vs lib/rubocop/cop/style/command_literal.rb in rubocop-0.69.0

- old
+ new

@@ -76,11 +76,11 @@ # # good # `echo \`ls\`` class CommandLiteral < Cop include ConfigurableEnforcedStyle - MSG_USE_BACKTICKS = 'Use backticks around command string.'.freeze - MSG_USE_PERCENT_X = 'Use `%x` around command string.'.freeze + MSG_USE_BACKTICKS = 'Use backticks around command string.' + MSG_USE_PERCENT_X = 'Use `%x` around command string.' def on_xstr(node) return if node.heredoc? if backtick_literal?(node)