Skip to content

Commit c20dcf0

Browse files
committed
spelling fix.
1 parent 6e97cb8 commit c20dcf0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/ferrum/client.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Client
6464
delegate %i[timeout timeout=] => :options
6565

6666
attr_reader :ws_url, :options, :subscriber
67-
attr_accessor :on_syncronous_message
67+
attr_accessor :on_synchronous_message
6868
def initialize(ws_url, options)
6969
@command_id = 0
7070
@ws_url = ws_url
@@ -96,8 +96,8 @@ def send_message(message, async:)
9696
raise TimeoutError unless data
9797

9898
error, response = data.values_at("error", "result")
99-
if on_syncronous_message
100-
on_syncronous_message.call(message:, error:, response:)
99+
if on_synchronous_message
100+
on_synchronous_message.call(message:, error:, response:)
101101
end
102102
raise_browser_error(error) if error
103103
response

0 commit comments

Comments
 (0)