Fix Layout/EmptyLineAfterGuardClause cop in PollExpirationNotifyWorker (#38331)
This commit is contained in:
parent
e4e584a99e
commit
6e281e8b9e
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user