Fix lint
This commit is contained in:
parent
f3c3ea42c2
commit
91e252259d
5 changed files with 11 additions and 9 deletions
|
@ -29,7 +29,7 @@ class ActivityPub::Parser::CustomEmojiParser
|
|||
nil
|
||||
end
|
||||
|
||||
def is_sensitive # rubocop:disable Naming/PredicateName
|
||||
def is_sensitive # rubocop:disable Naming/PredicatePrefix
|
||||
@json['isSensitive'].presence || false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue