lib/deliver/upload_screenshots.rb in deliver-1.6.0 vs lib/deliver/upload_screenshots.rb in deliver-1.6.2
- old
+ new
@@ -61,10 +61,10 @@
language = File.basename(lng_folder)
files = Dir.glob(File.join(lng_folder, "*.#{extensions}"))
next if files.count == 0
- prefer_framed = Dir.glob(File.join(lng_folder, '*_framed.#{extensions}')).count > 0
+ prefer_framed = Dir.glob(File.join(lng_folder, "*_framed.#{extensions}")).count > 0
files.each do |path|
if prefer_framed && !path.downcase.include?("_framed.#{extensions}") && !path.downcase.include?("watch")
next
end