Skip to content

Commit

Permalink
More kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Jan 30, 2024
1 parent 2ecdca8 commit f55ede0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/dynflow/action/progress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ module Action::Progress

class Calculate < Middleware

def run(*args)
with_progress_calculation(*args, **{}) do
def run(*args, **kwargs)
with_progress_calculation(*args, **kwargs) do
[action.run_progress, action.run_progress_weight]
end
end

def finalize(*args)
with_progress_calculation(*args, **{}) do
def finalize(*args, **kwargs)
with_progress_calculation(*args, **kwargs) do
[action.finalize_progress, action.finalize_progress_weight]
end
end
Expand Down

0 comments on commit f55ede0

Please sign in to comment.