mirror of
https://github.com/appium/appium.git
synced 2026-04-30 07:19:50 -05:00
Merge pull request #1440 from jlipps/master
replace quotes with replace(), not weird string truncation
This commit is contained in:
@@ -132,7 +132,7 @@ ADB.prototype.shell = function(cmd, cb) {
|
||||
ADB.prototype.spawn = function(args) {
|
||||
args.unshift(this.curDeviceId);
|
||||
args.unshift('-s');
|
||||
var adbCmd = this.adb.substr(1, this.adb.length - 2);
|
||||
var adbCmd = this.adb.replace(/"/g, '');
|
||||
logger.debug("spawning: " + adbCmd + " " + args.join(" "));
|
||||
return spawn(adbCmd, args);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user