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:
commit
05fa00c100
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue