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
6767
6868 private
6969
70+ # rubocop:disable Metrics/PerceivedComplexity
7071 def subscribe
7172 @client . on ( "Target.attachedToTarget" ) do |params |
7273 info , session_id = params . values_at ( "targetInfo" , "sessionId" )
@@ -111,6 +112,7 @@ def subscribe
111112 context &.delete_target ( params [ "targetId" ] )
112113 end
113114 end
115+ # rubocop:enable Metrics/PerceivedComplexity
114116
115117 def discover
116118 @client . command ( "Target.setDiscoverTargets" , discover : true )
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ def modifiers(keys)
9393
9494 private
9595
96- # TODO: Refactor it, and try to simplify complexity
9796 # rubocop:disable Metrics/PerceivedComplexity
9897 # rubocop:disable Metrics/CyclomaticComplexity
9998 def normalize_keys ( keys , pressed_keys = [ ] , memo = [ ] )
You can’t perform that action at this time.
0 commit comments