Skip to content

Commit 4932c1a

Browse files
aharbickshazron
authored andcommitted
It seems like iOS device names have changed again... (#224)
* Don't filter devices anymore * Keep device name filtering. Except fallback to do lookups unfiltered as well.
1 parent 94372da commit 4932c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function findRuntimesGroupByDeviceProperty(list, deviceProperty, availableOnly)
110110
function findAvailableRuntime(list, device_name) {
111111

112112
var all_druntimes = findRuntimesGroupByDeviceProperty(list, 'name', true);
113-
var druntime = all_druntimes[ filterDeviceName(device_name) ];
113+
var druntime = all_druntimes[ filterDeviceName(device_name) ] || all_druntimes[ device_name ];
114114
var runtime_found = druntime && druntime.length > 0;
115115

116116
if (!runtime_found) {

0 commit comments

Comments
 (0)