Fix nil message send when no simulators are booted
This commit is contained in:
parent
d278649fee
commit
fdfd89e7e7
|
@ -19,4 +19,6 @@ else
|
|||
.reverse!
|
||||
end
|
||||
|
||||
puts device[0]['udid']
|
||||
if device and device[0] then
|
||||
puts device[0]['udid']
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue