Fix haml-lint Rubocop Style/NumericPredicate
cop (#26040)
This commit is contained in:
parent
586b1c9dca
commit
df05ece265
3 changed files with 5 additions and 5 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue