Fix Layout/EmptyLineAfterGuardClause cop in PollExpirationNotifyWorker (#38331)

This commit is contained in:
Matt Jankowski
2026-03-23 12:09:02 -04:00
committed by GitHub
parent e4e584a99e
commit 6e281e8b9e

View File

@@ -9,6 +9,7 @@ class PollExpirationNotifyWorker
@poll = Poll.find(poll_id)
return if missing_expiration?
requeue! && return if not_due_yet?
notify_remote_voters_and_owner! if @poll.local?