lib/rubocop/cop/lint/debugger.rb in rubocop-0.24.1 vs lib/rubocop/cop/lint/debugger.rb in rubocop-0.25.0

- old
+ new

@@ -27,14 +27,21 @@ # # (send # (send nil :binding) :remote_pry) REMOTE_PRY_NODE = s(:send, s(:send, nil, :binding), :remote_pry) + # binding.pry_remote node + # + # (send + # (send nil :binding) :pry_remote) + PRY_REMOTE_NODE = s(:send, s(:send, nil, :binding), :pry_remote) + DEBUGGER_NODES = [ DEBUGGER_NODE, BYEBUG_NODE, PRY_NODE, - REMOTE_PRY_NODE + REMOTE_PRY_NODE, + PRY_REMOTE_NODE ] def on_send(node) return unless DEBUGGER_NODES.include?(node) add_offense(node,