File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -393,9 +393,6 @@ def appium_client_version
393
393
def self . absolute_app_path ( opts )
394
394
raise 'opts must be a hash' unless opts . is_a? Hash
395
395
396
- ::Appium ::Logger . warning ( '[Deprecation] Converting the path to absolute path will be removed. ' \
397
- 'Please specify the full path which can be accessible from the appium server' )
398
-
399
396
# FIXME: 'caps' and 'app' will be correct
400
397
caps = opts [ :caps ] || opts [ 'caps' ] || { }
401
398
app_path = caps [ :app ] || caps [ 'app' ]
@@ -404,6 +401,9 @@ def self.absolute_app_path(opts)
404
401
return app_path if app_path . start_with? 'sauce-storage:'
405
402
return app_path if app_path =~ URI ::DEFAULT_PARSER . make_regexp # public URL for Sauce
406
403
404
+ ::Appium ::Logger . warn ( '[Deprecation] Converting the path to absolute path will be removed. ' \
405
+ 'Please specify the full path which can be accessible from the appium server' )
406
+
407
407
absolute_app_path = File . expand_path app_path
408
408
if File . exist? absolute_app_path
409
409
absolute_app_path
You can’t perform that action at this time.
0 commit comments