mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Fix Layout/EmptyLineAfterGuardClause cop in PollExpirationNotifyWorker (#38331)
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user