Skip to content

Commit 5b40de9

Browse files
committed
Rubocop - Style/SelfAssignment
1 parent 3e20158 commit 5b40de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib/driver.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def driver_quit
465465
#
466466
# @return [Selenium::WebDriver] the new global driver
467467
def start_driver
468-
@client = @client || Selenium::WebDriver::Remote::Http::Default.new
468+
@client ||= Selenium::WebDriver::Remote::Http::Default.new
469469
@client.timeout = 999999
470470

471471
begin

0 commit comments

Comments
 (0)