1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Formatting

This commit is contained in:
Mike Perham 2017-04-24 16:33:16 -07:00
parent 7385564bcd
commit fb8916f4ec

View file

@ -338,10 +338,10 @@ module Sidekiq
when "ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper"
job_args = self['wrapped'] ? args[0]["arguments"] : []
if 'ActionMailer::DeliveryJob' == (self['wrapped'] || args[0])
# remove MailerClass, mailer_method and 'deliver_now'
job_args.drop(3)
# remove MailerClass, mailer_method and 'deliver_now'
job_args.drop(3)
else
job_args
job_args
end
else
args