mirror of
https://github.com/appium/appium.git
synced 2026-02-12 04:50:08 -06:00
fix node logic error preventing unlock errors from propagating in chrome
This commit is contained in:
@@ -44,7 +44,7 @@ ChromeAndroid.prototype.start = function(cb, onDie) {
|
||||
|
||||
ChromeAndroid.prototype.unlock = function(cb) {
|
||||
this.pushUnlock(function(err) {
|
||||
if (err) return err;
|
||||
if (err) return cb(err);
|
||||
this.unlockScreen(cb);
|
||||
}.bind(this));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user