FIX: get_size_from_image_sizes should return [width, height] or nil (#9298)

FIX: get_size_from_image_sizes should return [width, height] or nil (#9298)

diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rb
index 2ec33c0..3cbada9 100644
--- a/lib/cooked_post_processor.rb
+++ b/lib/cooked_post_processor.rb
@@ -268,6 +268,7 @@ class CookedPostProcessor
         return [size["width"], size["height"]]
       end
     end
+    nil
   end
 
   def add_to_size_cache(url, w, h)

GitHub sha: 3914e9cb

1 Like

This commit appears in #9298 which was merged by nbianca.