Skip to content

Commit

Permalink
chore: Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Jun 29, 2024
1 parent 639fa52 commit 969a935
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ferrum/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ class NodeNotFoundError < BrowserError; end

class NoExecutionContextError < BrowserError
def initialize(response = nil)
response ||= { "message" => "There's no context available" }
super(response)
super(response || { "message" => "There's no context available" })
end
end

Expand Down

0 comments on commit 969a935

Please sign in to comment.