Skip to content

Commit

Permalink
fix rubocop error
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed Jan 10, 2025
1 parent 2a9b35f commit d26b9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/concerns/spotlight/job_tracking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def initialize_job_tracker!(**params)
end

def finalize_job_tracker!
return unless job_tracker.status == 'in_progress' || job_tracker.status == 'enqueued'
return unless %w[in_progress enqueued].include?(job_tracker.status)

job_tracker.update(
status: @failed ? 'failed' : 'completed',
Expand Down

0 comments on commit d26b9f8

Please sign in to comment.