style(rubocop): Lint/UselessAssignment

This commit is contained in:
Adam Cooke
2024-02-10 17:18:24 +00:00
parent 25d7d66b47
commit 7590a46234
12 changed files with 18 additions and 20 deletions
-2
View File
@@ -232,8 +232,6 @@ class Server < ApplicationRecord
return nil unless uname
return nil unless domain_name
uname, = uname.split("+", 2)
# Find a verified domain which directly matches the domain name for the given address.
domain = Domain.verified
.order(owner_type: :desc)