lib/appium_lib/common/patch.rb in appium_lib-2.1.0 vs lib/appium_lib/common/patch.rb in appium_lib-3.0.0

- old
+ new

@@ -92,10 +92,10 @@ unless command_hash.nil? || command_hash.length == 0 print_command = {} # For complex_find, we pass a whole array if command_hash.kind_of? Array print_command[:args] = [command_hash.clone] - print_command[:script] = 'mobile: find' if command == :complex_find + print_command[:script] = 'complex_find' if command == :complex_find else print_command = command_hash.clone end print_command.delete :args if print_command[:args] == [] \ No newline at end of file