mirror of
https://github.com/appium/appium.git
synced 2026-02-11 04:20:00 -06:00
fix extraneous parens
This commit is contained in:
@@ -128,7 +128,7 @@ Appium.prototype.getDeviceTypeFromDeviceCap = function (device) {
|
||||
Appium.prototype.getDeviceTypeFromNamedApp = function (app) {
|
||||
if (app === "safari") {
|
||||
return DT_SAFARI;
|
||||
} else if ((app === "settings")) {
|
||||
} else if (app === "settings") {
|
||||
return DT_IOS;
|
||||
} else if (_.contains(["chrome", "chromium", "browser"], app)) {
|
||||
return DT_CHROME;
|
||||
|
||||
Reference in New Issue
Block a user