Skip to content

Commit

Permalink
Delint with rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Feb 13, 2024
1 parent 27ffec4 commit 2e08b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/conference.rb
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ def get_events_per_week_by_state

# Completed weeks
events_per_week.each do |week, values|
week = week.respond_to?(:strftime) ? week : Date.parse(week)
week = Date.parse(week) unless week.respond_to?(:strftime)
values.each do |state, value|
next unless %i[confirmed unconfirmed].include?(state)

Expand Down

0 comments on commit 2e08b63

Please sign in to comment.