Merge pull request #1440 from jlipps/master

replace quotes with replace(), not weird string truncation
This commit is contained in:
Jonathan Lipps
2013-11-07 14:44:53 -08:00
+1 -1
View File
@@ -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);
};