Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix #290

  • Loading branch information...
commit f887ded7d6e0e493ad6b59b7acf8fa45dbc70a63 1 parent ad146a9
@jlipps authored
Showing with 9 additions and 3 deletions.
  1. +9 −3 uiautomator/adb.js
View
12 uiautomator/adb.js
@@ -767,14 +767,20 @@ ADB.prototype.installApp = function(cb) {
function(cb) {
if (installApp) {
me.debug("Installing app apk");
- me.installApk(me.apkPath, function(err) { if (err) return cb(err); return cb(null); });
+ me.installApk(me.apkPath, function(err) {
+ if (err) return cb(err);
+ return cb(null);
+ });
} else { cb(null); }
},
function(cb) {
// App is already installed so reset it.
if (!installApp) {
- me.runFastReset(function(err) { if (err) return cb(err); return cb(null); });
- }
+ me.runFastReset(function(err) {
+ if (err) return cb(err);
+ return cb(null);
+ });
+ } else { cb(null); }
},
function(cb) {
if (installClean) {
Please sign in to comment.
Something went wrong with that request. Please try again.