Skip to content

Commit

Permalink
forcing device string when device name starts with =
Browse files Browse the repository at this point in the history
  • Loading branch information
sebv committed Oct 16, 2014
1 parent 23d1a76 commit a684428
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/devices/ios/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -924,8 +924,7 @@ IOS.getDeviceStringFromOpts = function (opts) {
var deviceName = opts.deviceName;
var fixDevice = true;
if (deviceName && deviceName[0] === '=') {
deviceName = deviceName.substring(1);
fixDevice = false;
return deviceName.substring(1);
}
logger.debug("fixDevice is " + (fixDevice ? "on" : "off"));
if (deviceName) {
Expand Down

0 comments on commit a684428

Please sign in to comment.