lib/rubocop/cop/lint/safe_navigation_chain.rb in rubocop-1.12.1 vs lib/rubocop/cop/lint/safe_navigation_chain.rb in rubocop-1.13.0
- old
+ new
@@ -24,11 +24,10 @@
# x&.foo&.bar
# x&.foo || bar
class SafeNavigationChain < Base
include NilMethods
- MSG = 'Do not chain ordinary method call' \
- ' after safe navigation operator.'
+ MSG = 'Do not chain ordinary method call after safe navigation operator.'
# @!method bad_method?(node)
def_node_matcher :bad_method?, <<~PATTERN
{
(send $(csend ...) $_ ...)