lib/trailblazer/activity/task_wrap/runner.rb in trailblazer-activity-0.12.0 vs lib/trailblazer/activity/task_wrap/runner.rb in trailblazer-activity-0.12.1
- old
+ new
@@ -15,10 +15,10 @@
# this pipeline is "wrapped around" the actual `task`.
task_wrap_pipeline = merge_static_with_runtime(task, **circuit_options) || raise
# We save all original args passed into this Runner.call, because we want to return them later after this wrap
# is finished.
- original_args = [ args, circuit_options ]
+ original_args = [args, circuit_options]
# call the wrap {Activity} around the task.
wrap_ctx, _ = task_wrap_pipeline.(wrap_ctx, original_args) # we omit circuit_options here on purpose, so the wrapping activity uses the default, plain Runner.
# don't return the wrap's end signal, but the one from call_task.