snapshot/lib/snapshot/test_command_generator.rb in fastlane-2.57.2 vs snapshot/lib/snapshot/test_command_generator.rb in fastlane-2.58.0.beta.20170919010003

- old
+ new

@@ -53,20 +53,12 @@ device = device.downcase device.start_with?('iphone', 'ipad') end # Return true if all devices are iOS devices return true unless all_ios.include?(false) - - all_tvos = devices.map do |device| - device = device.downcase - device.start_with?('apple tv') - end - # Return true if all devices are iOS devices - return true unless all_tvos.include?(false) - # There should only be more than 1 device type if - # it is iOS or tvOS, therefore, if there is more than 1 - # device in the array, and they are not all iOS or tvOS + # it is iOS, therefore, if there is more than 1 + # device in the array, and they are not all iOS # as checked above, that would imply that this is a mixed bag return devices.count == 1 end end end