spaceship/lib/spaceship/tunes/app_version.rb in fastlane-2.26.0.beta.20170405010026 vs spaceship/lib/spaceship/tunes/app_version.rb in fastlane-2.26.0.beta.20170406010019
- old
+ new
@@ -582,10 +582,10 @@
# IDEA: better error for non existing language
raise "#{language} isn't an activated language" unless languages.count > 0
lang_details = languages[0]
display_families = lang_details["displayFamilies"]["value"]
device_details = display_families.find { |display_family| display_family['name'] == device }
- raise "Couldn't find device familiy for #{device}" if device_details.nil?
+ raise "Couldn't find device family for #{device}" if device_details.nil?
raise "Unexpected state: missing device details for #{device}" unless device_details.key?(data_field)
return device_details[data_field]
rescue => ex
raise "iTunes Connect error: #{ex}"
end