5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-02-23 20:11:51 +00:00

Merge branch 'jekyll-service' into panel.sutty.nl

This commit is contained in:
f 2022-03-08 13:23:00 -03:00
commit 05fa00c100

View file

@ -5,7 +5,7 @@ class MetadataImage < MetadataFile
def validate
super
errors << I18n.t('metadata.image.not_an_image') unless path? && image?
errors << I18n.t('metadata.image.not_an_image') if path? && !image?
errors.compact!
errors.empty?