mirror of
https://github.com/appium/appium.git
synced 2026-02-09 11:18:51 -06:00
Merge pull request #2484 from fbai/patch-1
Fix issue - failed to pass multi params in avdArgs
This commit is contained in:
@@ -756,7 +756,8 @@ ADB.prototype.launchAVD = function (avdName, avdArgs, avdLaunchTimeout,
|
||||
if (avdArgs === null) {
|
||||
avdArgs = [avdName];
|
||||
} else if (typeof avdArgs === "string") {
|
||||
avdArgs = [avdName, avdArgs];
|
||||
avdArgs = avdArgs.split(" ");
|
||||
avdArgs.unshift(avdName);
|
||||
}
|
||||
var proc = spawn(emulatorBinaryPath.substr(1, emulatorBinaryPath.length - 2),
|
||||
avdArgs);
|
||||
|
||||
Reference in New Issue
Block a user