deliver/lib/deliver/upload_screenshots.rb in fastlane-2.64.0 vs deliver/lib/deliver/upload_screenshots.rb in fastlane-2.64.1
- old
+ new
@@ -15,9 +15,11 @@
if options[:overwrite_screenshots]
UI.message("Removing all previously uploaded screenshots...")
# First, clear all previously uploaded screenshots
screenshots_per_language.keys.each do |language|
+ # We have to nil check for languages not activated
+ next if v.screenshots[language].nil?
v.screenshots[language].each_with_index do |t, index|
v.upload_screenshot!(nil, t.sort_order, t.language, t.device_type, false)
end
end
end