Fix haml-lint Rubocop Style/NumericPredicate
cop (#26040)
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
.auto-dir
|
||||
= status_content_format(status)
|
||||
|
||||
- if status.ordered_media_attachments.size > 0
|
||||
- if status.ordered_media_attachments.size.positive?
|
||||
%p
|
||||
- status.ordered_media_attachments.each do |a|
|
||||
- if status.local?
|
||||
|
Reference in New Issue
Block a user