File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ def size
67
67
68
68
private
69
69
70
+ # rubocop:disable Metrics/PerceivedComplexity
70
71
def subscribe
71
72
@client . on ( "Target.attachedToTarget" ) do |params |
72
73
info , session_id = params . values_at ( "targetInfo" , "sessionId" )
@@ -111,6 +112,7 @@ def subscribe
111
112
context &.delete_target ( params [ "targetId" ] )
112
113
end
113
114
end
115
+ # rubocop:enable Metrics/PerceivedComplexity
114
116
115
117
def discover
116
118
@client . command ( "Target.setDiscoverTargets" , discover : true )
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ def modifiers(keys)
93
93
94
94
private
95
95
96
- # TODO: Refactor it, and try to simplify complexity
97
96
# rubocop:disable Metrics/PerceivedComplexity
98
97
# rubocop:disable Metrics/CyclomaticComplexity
99
98
def normalize_keys ( keys , pressed_keys = [ ] , memo = [ ] )
You can’t perform that action at this time.
0 commit comments