diff options
Diffstat (limited to 'lib/gitlab/diff/formatters/image_formatter.rb')
-rw-r--r-- | lib/gitlab/diff/formatters/image_formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/diff/formatters/image_formatter.rb b/lib/gitlab/diff/formatters/image_formatter.rb index 90cd74c84bb..d0c13dee1aa 100644 --- a/lib/gitlab/diff/formatters/image_formatter.rb +++ b/lib/gitlab/diff/formatters/image_formatter.rb @@ -23,7 +23,7 @@ module Gitlab end def complete? - x && y && width && height + [x, y, width, height].all?(&:present?) end def to_h |