From 2e08b636934bc95f693be8f7ed032dbbd025c844 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Mon, 12 Feb 2024 20:35:48 -0800 Subject: [PATCH] Delint with rubocop --- app/models/conference.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/conference.rb b/app/models/conference.rb index dc435da06..964ba3c85 100644 --- a/app/models/conference.rb +++ b/app/models/conference.rb @@ -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)