Fix Style/RedundantParentheses
cop (#28176)
This commit is contained in:
parent
5631f139c1
commit
3bc437b99a
3 changed files with 5 additions and 5 deletions
|
@ -48,8 +48,8 @@ module Mastodon::CLI
|
|||
next if account.avatar.blank? && account.header.blank?
|
||||
next if options[:remove_headers] && account.header.blank?
|
||||
|
||||
size = (account.header_file_size || 0)
|
||||
size += (account.avatar_file_size || 0) if options[:prune_profiles]
|
||||
size = account.header_file_size || 0
|
||||
size += account.avatar_file_size || 0 if options[:prune_profiles]
|
||||
|
||||
unless dry_run?
|
||||
account.header.destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue