Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Feb 10, 2025
1 parent abf5be2 commit d0a3f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/ferrum/contexts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def size

private

# rubocop:disable Metrics/PerceivedComplexity
def subscribe
@client.on("Target.attachedToTarget") do |params|
info, session_id = params.values_at("targetInfo", "sessionId")
Expand Down Expand Up @@ -111,6 +112,7 @@ def subscribe
context&.delete_target(params["targetId"])
end
end
# rubocop:enable Metrics/PerceivedComplexity

def discover
@client.command("Target.setDiscoverTargets", discover: true)
Expand Down
1 change: 0 additions & 1 deletion lib/ferrum/keyboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def modifiers(keys)

private

# TODO: Refactor it, and try to simplify complexity
# rubocop:disable Metrics/PerceivedComplexity
# rubocop:disable Metrics/CyclomaticComplexity
def normalize_keys(keys, pressed_keys = [], memo = [])
Expand Down

0 comments on commit d0a3f43

Please sign in to comment.