lib/floe/workflow/states/pass.rb in floe-0.11.3 vs lib/floe/workflow/states/pass.rb in floe-0.12.0
- old
+ new
@@ -23,10 +23,11 @@
validate_state!(workflow)
end
def finish(context)
- context.output = process_output(context, result)
+ input = result.nil? ? process_input(context) : result
+ context.output = process_output(context, input)
super
end
def running?(_)
false