Fix nil message send when no simulators are booted

This commit is contained in:
Thomas Goyne 2017-09-26 10:42:01 -07:00
parent d278649fee
commit fdfd89e7e7

View File

@ -19,4 +19,6 @@ else
.reverse! .reverse!
end end
puts device[0]['udid'] if device and device[0] then
puts device[0]['udid']
end