2
0

Update rubocop to version 1.75.0 (#34283)

This commit is contained in:
Matt Jankowski
2025-03-27 03:48:19 -04:00
committed by GitHub
parent e9fe01e2a6
commit 0e3ff680d3
6 changed files with 15 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ class PollExpirationNotifyWorker
def perform(poll_id)
@poll = Poll.find(poll_id)
return if does_not_expire?
return if missing_expiration?
requeue! && return if not_due_yet?
notify_remote_voters_and_owner! if @poll.local?
@@ -24,7 +24,7 @@ class PollExpirationNotifyWorker
private
def does_not_expire?
def missing_expiration?
@poll.expires_at.nil?
end