Skip to content

Commit

Permalink
Fixing standardrb linting error.
Browse files Browse the repository at this point in the history
`docker compose run web bundle exec standardrb --fix`
  • Loading branch information
erinesullivan committed Nov 5, 2024
1 parent fd5df78 commit a6b738d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/closed_days.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def all_days
end

def closed_days_between(end_date:, start_date: Time.zone.today)
all_days.filter_map do |date|
date if date >= start_date && date <= end_date
end
all_days.select { |date| date >= start_date && date <= end_date }
end

def closed?(date)
Expand Down

0 comments on commit a6b738d

Please sign in to comment.