Skip to content

Commit 8c34235

Browse files
committed
Rubocop - Metrics/BlockNesting
1 parent 97e54a6 commit 8c34235

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/appium_lib/ios/helper.rb

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ def fix_space(s)
5151
visible = fix_space element['visible']
5252
type = fix_space element['type']
5353

54+
# TODO: Rubocop warning cleanup
55+
# rubocop:disable Metrics/BlockNesting
56+
5457
# if class_name is set, mark non-matches as invisible
5558
visible = (type.downcase.include?(class_name)).to_s if class_name
5659
if visible && visible == 'true'
@@ -75,6 +78,7 @@ def fix_space(s)
7578
puts " value: #{value}" if value
7679
puts " hint: #{hint}" if hint
7780
end
81+
# rubocop:enable Metrics/BlockNesting
7882

7983
# there may be many ids with the same value.
8084
# output all exact matches.

0 commit comments

Comments
 (0)