lib/trailblazer/activity/task_wrap/call_task.rb in trailblazer-activity-0.15.1 vs lib/trailblazer/activity/task_wrap/call_task.rb in trailblazer-activity-0.16.0
- old
+ new
@@ -11,10 +11,13 @@
# Call the actual task we're wrapping here.
# puts "~~~~wrap.call: #{task}"
return_signal, return_args = task.(original_arguments, **original_circuit_options)
# DISCUSS: do we want original_args here to be passed on, or the "effective" return_args which are different to original_args now?
- wrap_ctx = wrap_ctx.merge( return_signal: return_signal, return_args: return_args )
+ wrap_ctx = wrap_ctx.merge(
+ return_signal: return_signal,
+ return_args: return_args
+ )
return wrap_ctx, original_args
end
end # Wrap
end