Skip to content

Commit 6f18e6f

Browse files
committed
Rubocop - Style/ColonMethodCall
1 parent 7ba83e5 commit 6f18e6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/appium_lib/driver.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def self.load_appium_txt(opts = {})
8989
data = File.read toml
9090
data = TOML::Parser.new(data).parsed
9191
# TOML creates string keys. must symbolize
92-
data = Appium::symbolize_keys data
92+
data = Appium.symbolize_keys data
9393
Appium::Logger.ap_info data unless data.empty? if verbose
9494

9595
if data && data[:caps] && data[:caps][:app] && !data[:caps][:app].empty?
@@ -271,7 +271,7 @@ def initialize(opts = {})
271271
$driver.driver_quit if $driver
272272
raise 'opts must be a hash' unless opts.is_a? Hash
273273

274-
opts = Appium::symbolize_keys opts
274+
opts = Appium.symbolize_keys opts
275275

276276
# default to {} to prevent nil.fetch and other nil errors
277277
@caps = opts[:caps] || {}

0 commit comments

Comments
 (0)