You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/06/19 20:10:14 UTC

[cordova-paramedic] branch master updated: Fix AppiumRunner getPackagePath bug (#156)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git


The following commit(s) were added to refs/heads/master by this push:
     new a9f377b  Fix AppiumRunner getPackagePath bug (#156)
a9f377b is described below

commit a9f377b4a2fef4fa74c50446850795b67ec0b92b
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Wed Jun 19 22:10:10 2019 +0200

    Fix AppiumRunner getPackagePath bug (#156)
---
 lib/appium/AppiumRunner.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/appium/AppiumRunner.js b/lib/appium/AppiumRunner.js
index 964ad11..f27a89c 100644
--- a/lib/appium/AppiumRunner.js
+++ b/lib/appium/AppiumRunner.js
@@ -358,7 +358,7 @@ function getPackagePath (options) {
             path.join(fullAppPath, 'platforms', 'ios', 'build', 'device') :
             path.join(fullAppPath, 'platforms', 'ios', 'build', 'emulator');
         const fileMask = options.device ? '*.ipa' : '*.app';
-        const files = shell.ls(searchDir + fileMask);
+        const files = shell.ls(path.join(searchDir, fileMask));
 
         logger.normal('paramedic-appium: Looking for the app package in: ' + searchDir);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org