Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Fustrate committed Apr 2, 2024
1 parent 43cfc4c commit d30ef28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# We have to run in the root directory or the Honeybadger config file won't be picked up
ROOT_DIR = '/home/baseballbot/apps/baseballbot/current'

def step_minutes_by(step, except: [], &block)
every "#{(0.step(59, step).to_a - Array(except)).join(',')} * * * *", &block
def step_minutes_by(step, except: [], &)
every("#{(0.step(59, step).to_a - Array(except)).join(',')} * * * *", &)
end

def process_kwarg(key, value)
Expand Down

0 comments on commit d30ef28

Please sign in to comment.